1 What: /sys/class/power_supply/twl4030_usb/mode
3 Changing mode for USB port.
4 Writing to this can disable charging.
8 ============= ===========================================
9 "auto" draw power as appropriate for detected
10 power source and battery status.
11 "off" do not draw any power.
12 "continuous" activate mode described as "linear" in
13 TWL data sheets. This uses whatever
14 current is available and doesn't switch off
17 This is useful for unstable power sources
18 such as bicycle dynamo, but care should
19 be taken that battery is not over-charged.
20 ============= ===========================================
22 What: /sys/class/power_supply/twl4030_ac/mode
24 Changing mode for 'ac' port.
25 Writing to this can disable charging.
29 ====== ===========================================
30 "auto" draw power as appropriate for detected
31 power source and battery status.
32 "off" do not draw any power.
33 ====== ===========================================