Commit: 09080c0022ba11ddf70b8b0c4f5119072017e04e
Parent: 9f11632b1fca71af4ae7de58ea757a5bf7de20da
Author: Sonny Sasaka <sonnysasaka@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2021-03-30 22:12:44
Tree: 991234d70eee0b18103d34b59b0c89caa72f786e

profiles/battery: Reset battery value cache on disconnect Due to cache in batt object, bluetoothd fails to update publish the battery value after reconnection when the battery value does not change compared to before reconnection. We should reset the battery percentage cache on disconnect. Reviewed-by: Alain Michaud <alainm@chromium.org>

Diffstat

M profiles/battery/battery.c | 1 +

1 files changed, 1 insertions(+), 0 deletions(-)

View Full Diff | Patch