Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.16 28 lines 868 B view raw
1What: /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: 7 "auto" - draw power as appropriate for detected 8 power source and battery status. 9 "off" - do not draw any power. 10 "continuous" 11 - activate mode described as "linear" in 12 TWL data sheets. This uses whatever 13 current is available and doesn't switch off 14 when voltage drops. 15 16 This is useful for unstable power sources 17 such as bicycle dynamo, but care should 18 be taken that battery is not over-charged. 19 20What: /sys/class/power_supply/twl4030_ac/mode 21Description: 22 Changing mode for 'ac' port. 23 Writing to this can disable charging. 24 25 Possible values are: 26 "auto" - draw power as appropriate for detected 27 power source and battery status. 28 "off" - do not draw any power.