OSDN Git Service

twl4030_charger: add ac/mode to match usb/mode
[android-x86/kernel.git] / Documentation / ABI / testing / sysfs-class-power-twl4030
index e8baa36..be26af0 100644 (file)
@@ -33,3 +33,13 @@ Description:
                         This is useful for unstable power sources
                         such as bicycle dynamo, but care should
                         be taken that battery is not over-charged.
+
+What: /sys/class/power_supply/twl4030_ac/mode
+Description:
+       Changing mode for 'ac' port.
+       Writing to this can disable charging.
+
+       Possible values are:
+               "auto" - draw power as appropriate for detected
+                        power source and battery status.
+               "off"  - do not draw any power.