Commit Graph
2 Commits
Author SHA1 Message Date
John Stultz f17ef9b2da power: Make test_power driver more dynamic.
In 2008 Masashi YOKOTA <[email protected]> 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 <[email protected]>
CC: Akihiro MAEDA <[email protected]>
CC: Masashi YOKOTA <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Anton Vorontsov <[email protected]>
2011-05-20 19:25:08 +04:00
Anton Vorontsov a1e50fd445 power_supply: Add test_power driver
Just a handy driver that is used for testing purposes.

Signed-off-by: Anton Vorontsov <[email protected]>
2010-05-18 19:58:56 +04:00