sysfs-class-power-ltc4162l 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. What: /sys/class/power_supply/ltc4162-l/charge_status
  2. Date: Januari 2021
  3. KernelVersion: 5.11
  4. Description:
  5. Detailed charge status information as reported by the chip.
  6. Access: Read
  7. Valid values:
  8. ilim_reg_active
  9. thermal_reg_active
  10. vin_uvcl_active
  11. iin_limit_active
  12. constant_current
  13. constant_voltage
  14. charger_off
  15. What: /sys/class/power_supply/ltc4162-l/ibat
  16. Date: Januari 2021
  17. KernelVersion: 5.11
  18. Description:
  19. Battery input current as measured by the charger. Negative value
  20. means that the battery is discharging.
  21. Access: Read
  22. Valid values: Signed value in microamps
  23. What: /sys/class/power_supply/ltc4162-l/vbat
  24. Date: Januari 2021
  25. KernelVersion: 5.11
  26. Description:
  27. Battery voltage as measured by the charger.
  28. Access: Read
  29. Valid values: In microvolts
  30. What: /sys/class/power_supply/ltc4162-l/vbat_avg
  31. Date: Januari 2021
  32. KernelVersion: 5.11
  33. Description:
  34. Battery voltage, averaged over time, as measured by the charger.
  35. Access: Read
  36. Valid values: In microvolts
  37. What: /sys/class/power_supply/ltc4162-l/force_telemetry
  38. Date: Januari 2021
  39. KernelVersion: 5.11
  40. Description:
  41. To save battery current, the measurement system is disabled if
  42. the battery is the only source of power. This affects all
  43. voltage, current and temperature measurements.
  44. Write a "1" to this to keep performing telemetry once every few
  45. seconds, even when running on battery (as reported by the online
  46. property, which is "1" when external power is available and "0"
  47. when the system runs on battery).
  48. Access: Read, Write
  49. Valid values: 0 (disabled) or 1 (enabled)
  50. What: /sys/class/power_supply/ltc4162-l/arm_ship_mode
  51. Date: Januari 2021
  52. KernelVersion: 5.11
  53. Description:
  54. The charger will normally drain the battery while inactive,
  55. typically drawing about 54 microamps. Write a "1" to this
  56. property to arm a special "ship" mode that extends shelf life
  57. by reducing the leakage to about 2.8 microamps. The chip will
  58. remain in this mode (and no longer respond to I2C commands)
  59. until some external power-supply is attached raising the input
  60. voltage above 1V. It will then automatically revert to "0".
  61. Writing a "0" to the property cancels the "ship" mode request.
  62. The ship mode, when armed, activates once the input voltage
  63. drops below 1V.
  64. Access: Read, Write
  65. Valid values: 0 (disable) or 1 (enable)