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

Commit 42b09ebf authored by Todd Poynor's avatar Todd Poynor Committed by Ruchi Kandoi
Browse files

power: android-battery: push uevent whenever charge source changes



Ensure userspace reads an up-to-date value for charging status whenever the
charge source is updated.  Avoid races where stale charging state may be
reflected in userspace until the next battery state poll.

Change-Id: Ia744db48584e9e9abf442710c279af9e3a25c079
Signed-off-by: default avatarTodd Poynor <toddpoynor@google.com>
parent 4354a915
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment