0001 What: /sys/class/power_supply/twl4030_usb/mode
0002 Description:
0003 Changing mode for USB port.
0004 Writing to this can disable charging.
0005
0006 Possible values are:
0007
0008 ============= ===========================================
0009 "auto" draw power as appropriate for detected
0010 power source and battery status.
0011 "off" do not draw any power.
0012 "continuous" activate mode described as "linear" in
0013 TWL data sheets. This uses whatever
0014 current is available and doesn't switch off
0015 when voltage drops.
0016
0017 This is useful for unstable power sources
0018 such as bicycle dynamo, but care should
0019 be taken that battery is not over-charged.
0020 ============= ===========================================
0021
0022 What: /sys/class/power_supply/twl4030_ac/mode
0023 Description:
0024 Changing mode for 'ac' port.
0025 Writing to this can disable charging.
0026
0027 Possible values are:
0028
0029 ====== ===========================================
0030 "auto" draw power as appropriate for detected
0031 power source and battery status.
0032 "off" do not draw any power.
0033 ====== ===========================================