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

Commit b0353824 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: qpnp-vm-bms: Notify userspace of every single SOC change"

parents 0796bed6 6f4d3879
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1955,6 +1955,9 @@ static void monitor_soc_work(struct work_struct *work)
					/* update last_soc immediately */
					report_vm_bms_soc(chip);

				pr_debug("update bms_psy\n");
				power_supply_changed(&chip->bms_psy);
			} else if (chip->last_soc != chip->calculated_soc) {
				pr_debug("update bms_psy\n");
				power_supply_changed(&chip->bms_psy);
			} else {