sysfs-class-power 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. What: /sys/class/power/ds2760-battery.*/charge_now
  2. Date: May 2010
  3. KernelVersion: 2.6.35
  4. Contact: Daniel Mack <daniel@caiaq.de>
  5. Description:
  6. This file is writeable and can be used to set the current
  7. coloumb counter value inside the battery monitor chip. This
  8. is needed for unavoidable corrections of aging batteries.
  9. A userspace daemon can monitor the battery charging logic
  10. and once the counter drops out of considerable bounds, take
  11. appropriate action.
  12. What: /sys/class/power/ds2760-battery.*/charge_full
  13. Date: May 2010
  14. KernelVersion: 2.6.35
  15. Contact: Daniel Mack <daniel@caiaq.de>
  16. Description:
  17. This file is writeable and can be used to set the assumed
  18. battery 'full level'. As batteries age, this value has to be
  19. amended over time.
  20. What: /sys/class/power_supply/max14577-charger/device/fast_charge_timer
  21. Date: October 2014
  22. KernelVersion: 3.18.0
  23. Contact: Krzysztof Kozlowski <k.kozlowski@samsung.com>
  24. Description:
  25. This entry shows and sets the maximum time the max14577
  26. charger operates in fast-charge mode. When the timer expires
  27. the device will terminate fast-charge mode (charging current
  28. will drop to 0 A) and will trigger interrupt.
  29. Valid values:
  30. - 5, 6 or 7 (hours),
  31. - 0: disabled.
  32. What: /sys/class/power_supply/max77693-charger/device/fast_charge_timer
  33. Date: January 2015
  34. KernelVersion: 3.19.0
  35. Contact: Krzysztof Kozlowski <k.kozlowski@samsung.com>
  36. Description:
  37. This entry shows and sets the maximum time the max77693
  38. charger operates in fast-charge mode. When the timer expires
  39. the device will terminate fast-charge mode (charging current
  40. will drop to 0 A) and will trigger interrupt.
  41. Valid values:
  42. - 4 - 16 (hours), step by 2 (rounded down)
  43. - 0: disabled.
  44. What: /sys/class/power_supply/max77693-charger/device/top_off_threshold_current
  45. Date: January 2015
  46. KernelVersion: 3.19.0
  47. Contact: Krzysztof Kozlowski <k.kozlowski@samsung.com>
  48. Description:
  49. This entry shows and sets the charging current threshold for
  50. entering top-off charging mode. When charging current in fast
  51. charge mode drops below this value, the charger will trigger
  52. interrupt and start top-off charging mode.
  53. Valid values:
  54. - 100000 - 200000 (microamps), step by 25000 (rounded down)
  55. - 200000 - 350000 (microamps), step by 50000 (rounded down)
  56. - 0: disabled.
  57. What: /sys/class/power_supply/max77693-charger/device/top_off_timer
  58. Date: January 2015
  59. KernelVersion: 3.19.0
  60. Contact: Krzysztof Kozlowski <k.kozlowski@samsung.com>
  61. Description:
  62. This entry shows and sets the maximum time the max77693
  63. charger operates in top-off charge mode. When the timer expires
  64. the device will terminate top-off charge mode (charging current
  65. will drop to 0 A) and will trigger interrupt.
  66. Valid values:
  67. - 0 - 70 (minutes), step by 10 (rounded down)
  68. What: /sys/class/power_supply/bq24257-charger/ovp_voltage
  69. Date: October 2015
  70. KernelVersion: 4.4.0
  71. Contact: Andreas Dannenberg <dannenberg@ti.com>
  72. Description:
  73. This entry configures the overvoltage protection feature of bq24257-
  74. type charger devices. This feature protects the device and other
  75. components against damage from overvoltage on the input supply. See
  76. device datasheet for details.
  77. Valid values:
  78. - 6000000, 6500000, 7000000, 8000000, 9000000, 9500000, 10000000,
  79. 10500000 (all uV)
  80. What: /sys/class/power_supply/bq24257-charger/in_dpm_voltage
  81. Date: October 2015
  82. KernelVersion: 4.4.0
  83. Contact: Andreas Dannenberg <dannenberg@ti.com>
  84. Description:
  85. This entry configures the input dynamic power path management voltage of
  86. bq24257-type charger devices. Once the supply drops to the configured
  87. voltage, the input current limit is reduced down to prevent the further
  88. drop of the supply. When the IC enters this mode, the charge current is
  89. lower than the set value. See device datasheet for details.
  90. Valid values:
  91. - 4200000, 4280000, 4360000, 4440000, 4520000, 4600000, 4680000,
  92. 4760000 (all uV)
  93. What: /sys/class/power_supply/bq24257-charger/high_impedance_enable
  94. Date: October 2015
  95. KernelVersion: 4.4.0
  96. Contact: Andreas Dannenberg <dannenberg@ti.com>
  97. Description:
  98. This entry allows enabling the high-impedance mode of bq24257-type
  99. charger devices. If enabled, it places the charger IC into low power
  100. standby mode with the switch mode controller disabled. When disabled,
  101. the charger operates normally. See device datasheet for details.
  102. Valid values:
  103. - 1: enabled
  104. - 0: disabled
  105. What: /sys/class/power_supply/bq24257-charger/sysoff_enable
  106. Date: October 2015
  107. KernelVersion: 4.4.0
  108. Contact: Andreas Dannenberg <dannenberg@ti.com>
  109. Description:
  110. This entry allows enabling the sysoff mode of bq24257-type charger
  111. devices. If enabled and the input is removed, the internal battery FET
  112. is turned off in order to reduce the leakage from the BAT pin to less
  113. than 1uA. Note that on some devices/systems this disconnects the battery
  114. from the system. See device datasheet for details.
  115. Valid values:
  116. - 1: enabled
  117. - 0: disabled