]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
ds2760_battery: Document ABI change
authorDaniel Mack <daniel@caiaq.de>
Tue, 18 May 2010 20:26:40 +0000 (22:26 +0200)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Wed, 19 May 2010 08:25:39 +0000 (12:25 +0400)
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>
Documentation/ABI/testing/sysfs-class-power [new file with mode: 0644]

diff --git a/Documentation/ABI/testing/sysfs-class-power b/Documentation/ABI/testing/sysfs-class-power
new file mode 100644 (file)
index 0000000..78c7bac
--- /dev/null
@@ -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.