Skip to content
Commit 1769142a authored by Maximilian Weigand's avatar Maximilian Weigand Committed by Sebastian Reichel
Browse files

power: supply: rk817: query battery properties right after resume



The driver reads battery properties every 8 seconds. In order to prevent
problems with wrong property values right after resume, trigger an
update of those properties on resuming the system and restart the
8-second interval from there.

Signed-off-by: default avatarMaximilian Weigand <mweigand@mweigand.net>
Link: https://lore.kernel.org/r/20230601-rk817_query_at_resume-v1-1-630b0adefbd9@mweigand.net


Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 814755c4
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