^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/class/power_supply/twl4030_usb/mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Changing mode for USB port.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Writing to this can disable charging.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) ============= ===========================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) "auto" draw power as appropriate for detected
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) power source and battery status.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) "off" do not draw any power.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) "continuous" activate mode described as "linear" in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) TWL data sheets. This uses whatever
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) current is available and doesn't switch off
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) when voltage drops.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) This is useful for unstable power sources
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) such as bicycle dynamo, but care should
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) be taken that battery is not over-charged.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) ============= ===========================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) What: /sys/class/power_supply/twl4030_ac/mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Changing mode for 'ac' port.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) Writing to this can disable charging.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) ====== ===========================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) "auto" draw power as appropriate for detected
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) power source and battery status.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) "off" do not draw any power.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) ====== ===========================================