Commit f17ef9b2 authored by John Stultz's avatar John Stultz Committed by Anton Vorontsov

power: Make test_power driver more dynamic.

In 2008 Masashi YOKOTA <> created the virtual
battery driver found here:

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 <>
CC: Akihiro MAEDA <>
CC: Masashi YOKOTA <>
Signed-off-by: default avatarJohn Stultz <>
Signed-off-by: default avatarAnton Vorontsov <>
parent 73c244a8
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment