blob: 7ac36dba87bc04d7297df37ee37140e4d8c497d5 [file] [log] [blame]
NeilBrown22d4c332015-07-30 10:11:24 +10001What: /sys/class/power_supply/twl4030_usb/mode
2Description:
3 Changing mode for USB port.
4 Writing to this can disable charging.
5
6 Possible values are:
NeilBrown7f4a6332015-07-30 10:11:24 +10007
Mauro Carvalho Chehab34433332020-10-30 08:40:39 +01008 ============= ===========================================
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
15 when voltage drops.
16
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 ============= ===========================================
NeilBrownb04b9082015-07-30 10:11:24 +100021
22What: /sys/class/power_supply/twl4030_ac/mode
23Description:
24 Changing mode for 'ac' port.
25 Writing to this can disable charging.
26
27 Possible values are:
Mauro Carvalho Chehab34433332020-10-30 08:40:39 +010028
29 ====== ===========================================
30 "auto" draw power as appropriate for detected
31 power source and battery status.
32 "off" do not draw any power.
33 ====== ===========================================