summaryrefslogtreecommitdiffstats
path: root/drivers/power/ds2760_battery.c
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2011-04-25 20:25:24 -0700
committerAnton Vorontsov <cbouatmailru@gmail.com>2011-05-20 19:25:08 +0400
commitf17ef9b2dade4d7afb605465ef1a926fdfc1a4cc (patch)
tree0642149c33ba45fe48160c36a4a0ccc6f9366af4 /drivers/power/ds2760_battery.c
parent73c244a8a5541e3a1a1997be671b019a220a66e8 (diff)
downloadlinux-f17ef9b2dade4d7afb605465ef1a926fdfc1a4cc.tar.bz2
power: Make test_power driver more dynamic.
In 2008 Masashi YOKOTA <yokota@pylone.jp> created the virtual battery driver found here: http://downloads.pylone.jp/src/virtual_battery/virtual_battery-0.0.1.tar.bz2 It found use out of tree, but was never merged upstream. Since then the test_power driver has been merged, which provides very similar functionality. This patch extends the test_power driver to be more dynamic at runtime, by merging portions of the Virtual Battery Driver by Masashi YOKOTA. With this patch, I can tweak the values in: /sys/module/test_power/parameters/* and watch the behavior of the gnome power managment daemon or other battery UI software. CC: Anton Vorontsov <cbouatmailru@gmail.com> CC: Akihiro MAEDA <sola.1980.a@gmail.com> CC: Masashi YOKOTA <yokota@pylone.jp> Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power/ds2760_battery.c')
0 files changed, 0 insertions, 0 deletions