Get power info from power manager instead of upower
This patch removes dependence on upower and its numerous dependencies.
Instead, libcros gets power information from power manager, which now
has the same functionality as upower.
BUG=chromium-os:16640
TEST=Check the power/battery icon when running on both AC and battery
power. It should have correct readings in both cases.
Change-Id: I63ef4cb31da6b117642161a57a17fef67d7ca0d0
Signed-off-by: Simon Que <sque@chromium.org>
Reviewed-on: http://gerrit.chromium.org/gerrit/4684
Reviewed-by: Sameer Nanda <snanda@chromium.org>
1 file changed