sysfs-class-power-twl4030 1.0 KB

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