Commit: bc6ee2073578d34835735fad48ca53c85a12702e
Parent: aa4a295744f887030b24340af4a5d985be119c1e
Author: Sonny Sasaka <sonnysasaka@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-12-01 02:16:28
Tree: 08a625ce1bb99c9eb1550a6df5e60f00078e7ca7

battery: Add Source property to Battery API As Battery API will be generalized for other battery reporting protocols, the Source property is useful for diagnostics purposes. Reviewed-by: Miao-chen Chou <mcchou@chromium.org>

Diffstat

M profiles/battery/battery.c | 3 ++-
M src/battery.c | 35 +++++++++++++++++++++++++++++++- - - -
M src/battery.h | 2 +-

3 files changed, 34 insertions(+), 6 deletions(-)

View Full Diff | Patch