Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4e54e9f4 authored by Len Brown's avatar Len Brown
Browse files

Pull sbs into release branch

parents 27196c30 bc90a010
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -1415,7 +1415,7 @@ static int acpi_sbs_update_run(struct acpi_sbs *sbs, int id, int data_type)
	char dir_name[32];
	int do_battery_init = 0, do_ac_init = 0;
	int old_remaining_capacity = 0;
	int update_ac = 1, update_battery = 1;
	int update_battery = 1;
	int up_tm = update_time;

	if (sbs_zombie(sbs)) {
@@ -1435,10 +1435,6 @@ static int acpi_sbs_update_run(struct acpi_sbs *sbs, int id, int data_type)

	sbs->run_cnt++;

	if (!update_ac && !update_battery) {
		goto end;
	}

	old_ac_present = sbs->ac.ac_present;

	result = acpi_ac_get_present(sbs);