aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/file2alias.c
diff options
context:
space:
mode:
authorThomas Champagne <[email protected]>2009-12-18 00:41:41 +0000
committerAnton Vorontsov <[email protected]>2009-12-18 00:51:29 +0000
commitd54e7929d8073b0fff8af16f8ff6ebbba6fc4154 (patch)
tree66f49909a111fcd7a32f96072dffc41484c1dd27 /scripts/mod/file2alias.c
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/v... (diff)
downloadkernel-d54e7929d8073b0fff8af16f8ff6ebbba6fc4154.tar.gz
kernel-d54e7929d8073b0fff8af16f8ff6ebbba6fc4154.zip
pmu_battery: Fix battery full reporting
Prior to this patch, pmu_battery was unable to report battery full status. This patch fixes the issue by adding a proper handling code into pmu_bat_get_property(): if we're on AC and the battery isn't charging, then the battery is considered full. Signed-off-by: Thomas Champagne <[email protected]> Acked-By: David Woodhouse <[email protected]> Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions