summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-class-power
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2010-05-18 22:26:40 +0200
committerAnton Vorontsov <cbouatmailru@gmail.com>2010-05-19 10:25:39 +0200
commit24af3202459d9a25643009b1ab8ab5ff04d94b49 (patch)
treec36654baba5327aaf5bee7a3dbf4cd273f6e2000 /Documentation/ABI/testing/sysfs-class-power
parentds2760_battery: Make charge_now and charge_full writeable (diff)
downloadlinux-24af3202459d9a25643009b1ab8ab5ff04d94b49.tar.xz
linux-24af3202459d9a25643009b1ab8ab5ff04d94b49.zip
ds2760_battery: Document ABI change
Add some documentation for the newly added writeable properties. Suggested-by: Greg KH <gregkh@suse.de> Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-class-power')
-rw-r--r--Documentation/ABI/testing/sysfs-class-power20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-power b/Documentation/ABI/testing/sysfs-class-power
new file mode 100644
index 000000000000..78c7baca3587
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-class-power
@@ -0,0 +1,20 @@
+What: /sys/class/power/ds2760-battery.*/charge_now
+Date: May 2010
+KernelVersion: 2.6.35
+Contact: Daniel Mack <daniel@caiaq.de>
+Description:
+ This file is writeable and can be used to set the current
+ coloumb counter value inside the battery monitor chip. This
+ is needed for unavoidable corrections of aging batteries.
+ A userspace daemon can monitor the battery charging logic
+ and once the counter drops out of considerable bounds, take
+ appropriate action.
+
+What: /sys/class/power/ds2760-battery.*/charge_full
+Date: May 2010
+KernelVersion: 2.6.35
+Contact: Daniel Mack <daniel@caiaq.de>
+Description:
+ This file is writeable and can be used to set the assumed
+ battery 'full level'. As batteries age, this value has to be
+ amended over time.