commit | a31755fa1c75b1e656cf1e713632afe98fb4c3fb | [log] [tgz] |
---|---|---|
author | dcashman <dcashman@google.com> | Tue Jan 05 14:32:54 2016 -0800 |
committer | dcashman <dcashman@google.com> | Tue Jan 05 15:54:05 2016 -0800 |
tree | 6e25d81c24cb4299e5f2a7f040a9837393c63268 | |
parent | f226b0c9456ac07309a378e03e86add0e3badfb0 [diff] |
Add sysfs_batteryinfo label. Shell user needs to be able to get current device battery_level via /sys/class/power_supply/battery/capacity. Create a global label and corresponding policy for accessing this. Rely on each device to label the appropriate sysfs entry. Bug: 26219114 Change-Id: I2c5ef489a9db2fdf7bbd5afd04278214b814351c