>> 1 What: /sys/class/power_supply/twl4030_ac/max_current >> 2 /sys/class/power_supply/twl4030_usb/max_current >> 3 Description: >> 4 Read/Write limit on current which may >> 5 be drawn from the ac (Accessory Charger) or >> 6 USB port. >> 7 >> 8 Value is in micro-Amps. >> 9 >> 10 Value is set automatically to an appropriate >> 11 value when a cable is plugged or unplugged. >> 12 >> 13 Value can the set by writing to the attribute. >> 14 The change will only persist until the next >> 15 plug event. These event are reported via udev. >> 16 >> 17 1 What: /sys/class/power_supply/twl4030_usb/mode 18 What: /sys/class/power_supply/twl4030_usb/mode 2 Description: 19 Description: 3 Changing mode for USB port. 20 Changing mode for USB port. 4 Writing to this can disable charging. 21 Writing to this can disable charging. 5 22 6 Possible values are: 23 Possible values are: 7 !! 24 "auto" - draw power as appropriate for detected 8 ============= ============== !! 25 power source and battery status. 9 "auto" draw power as !! 26 "off" - do not draw any power. 10 power source a !! 27 "continuous" 11 "off" do not draw an !! 28 - activate mode described as "linear" in 12 "continuous" activate mode !! 29 TWL data sheets. This uses whatever 13 TWL data sheet !! 30 current is available and doesn't switch off 14 current is ava !! 31 when voltage drops. 15 when voltage d !! 32 16 !! 33 This is useful for unstable power sources 17 This is useful !! 34 such as bicycle dynamo, but care should 18 such as bicycl !! 35 be taken that battery is not over-charged. 19 be taken that << 20 ============= ============== << 21 36 22 What: /sys/class/power_supply/twl4030_ac/mode 37 What: /sys/class/power_supply/twl4030_ac/mode 23 Description: 38 Description: 24 Changing mode for 'ac' port. 39 Changing mode for 'ac' port. 25 Writing to this can disable charging. 40 Writing to this can disable charging. 26 41 27 Possible values are: 42 Possible values are: 28 !! 43 "auto" - draw power as appropriate for detected 29 ====== ====================== !! 44 power source and battery status. 30 "auto" draw power as appropri !! 45 "off" - do not draw any power. 31 power source and batte << 32 "off" do not draw any power. << 33 ====== ====================== <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.