^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) **General Properties**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) What: /sys/class/power_supply/<supply_name>/manufacturer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Date: May 2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) Reports the name of the device manufacturer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Valid values: Represented as string
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) What: /sys/class/power_supply/<supply_name>/model_name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Date: May 2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Reports the name of the device model.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Valid values: Represented as string
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) What: /sys/class/power_supply/<supply_name>/serial_number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Date: January 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) Reports the serial number of the device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Valid values: Represented as string
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) What: /sys/class/power_supply/<supply_name>/type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) Date: May 2010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Describes the main type of the supply.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) Valid values: "Battery", "UPS", "Mains", "USB", "Wireless"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) **Battery and USB properties**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) What: /sys/class/power_supply/<supply_name>/current_avg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) Date: May 2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) Battery:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) Reports an average IBAT current reading for the battery, over
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) a fixed period. Normally devices will provide a fixed interval
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) in which they average readings to smooth out the reported
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) USB:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) Reports an average IBUS current reading over a fixed period.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) Normally devices will provide a fixed interval in which they
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) average readings to smooth out the reported value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) Valid values: Represented in microamps. Negative values are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) used for discharging batteries, positive values for charging
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) batteries and for USB IBUS current.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) What: /sys/class/power_supply/<supply_name>/current_max
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) Date: October 2010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) Battery:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) Reports the maximum IBAT current allowed into the battery.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) USB:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) Reports the maximum IBUS current the supply can support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) Valid values: Represented in microamps
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) What: /sys/class/power_supply/<supply_name>/current_now
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) Date: May 2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) Battery:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) Reports an instant, single IBAT current reading for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) battery. This value is not averaged/smoothed.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) USB:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) Reports the IBUS current supplied now. This value is generally
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) read-only reporting, unless the 'online' state of the supply
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) is set to be programmable, in which case this value can be set
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) within the reported min/max range.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) Access: Read, Write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) Valid values: Represented in microamps. Negative values are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) used for discharging batteries, positive values for charging
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) batteries and for USB IBUS current.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) What: /sys/class/power_supply/<supply_name>/temp
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) Date: May 2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) Battery:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) Reports the current TBAT battery temperature reading.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) USB:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) Reports the current supply temperature reading. This would
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) normally be the internal temperature of the device itself
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) (e.g TJUNC temperature of an IC)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) Valid values: Represented in 1/10 Degrees Celsius
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) What: /sys/class/power_supply/<supply_name>/temp_alert_max
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) Date: July 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) Battery:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) Maximum TBAT temperature trip-wire value where the supply will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) notify user-space of the event.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) USB:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) Maximum supply temperature trip-wire value where the supply
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) will notify user-space of the event.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) This is normally used for the charging scenario where
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) user-space needs to know if the temperature has crossed an
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) upper threshold so it can take appropriate action (e.g. warning
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) user that the temperature is critically high, and charging has
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) stopped).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) Valid values: Represented in 1/10 Degrees Celsius
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) What: /sys/class/power_supply/<supply_name>/temp_alert_min
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) Date: July 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) Battery:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) Minimum TBAT temperature trip-wire value where the supply will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) notify user-space of the event.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) USB:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) Minimum supply temperature trip-wire value where the supply
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) will notify user-space of the event.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) This is normally used for the charging scenario where user-space
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) needs to know if the temperature has crossed a lower threshold
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) so it can take appropriate action (e.g. warning user that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) temperature level is high, and charging current has been
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) reduced accordingly to remedy the situation).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) Valid values: Represented in 1/10 Degrees Celsius
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) What: /sys/class/power_supply/<supply_name>/temp_max
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) Date: July 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) Battery:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) Reports the maximum allowed TBAT battery temperature for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) charging.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) USB:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) Reports the maximum allowed supply temperature for operation.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) Valid values: Represented in 1/10 Degrees Celsius
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) What: /sys/class/power_supply/<supply_name>/temp_min
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) Date: July 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) Battery:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) Reports the minimum allowed TBAT battery temperature for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) charging.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) USB:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) Reports the minimum allowed supply temperature for operation.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) Valid values: Represented in 1/10 Degrees Celsius
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) What: /sys/class/power_supply/<supply_name>/voltage_max,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) Date: January 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) Battery:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) Reports the maximum safe VBAT voltage permitted for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) battery, during charging.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) USB:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) Reports the maximum VBUS voltage the supply can support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) Valid values: Represented in microvolts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) What: /sys/class/power_supply/<supply_name>/voltage_min,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) Date: January 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) Battery:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) Reports the minimum safe VBAT voltage permitted for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) battery, during discharging.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) USB:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) Reports the minimum VBUS voltage the supply can support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) Valid values: Represented in microvolts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) What: /sys/class/power_supply/<supply_name>/voltage_now,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) Date: May 2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) Battery:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) Reports an instant, single VBAT voltage reading for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) battery. This value is not averaged/smoothed.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) USB:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252) Reports the VBUS voltage supplied now. This value is generally
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253) read-only reporting, unless the 'online' state of the supply
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) is set to be programmable, in which case this value can be set
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) within the reported min/max range.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) Access: Read, Write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259) Valid values: Represented in microvolts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261) **Battery Properties**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263) What: /sys/class/power_supply/<supply_name>/capacity
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264) Date: May 2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) Fine grain representation of battery capacity.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271) Valid values: 0 - 100 (percent)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 272)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 273) What: /sys/class/power_supply/<supply_name>/capacity_alert_max
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 274) Date: July 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 275) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 276) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 277) Maximum battery capacity trip-wire value where the supply will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 278) notify user-space of the event. This is normally used for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 279) battery discharging scenario where user-space needs to know the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 280) battery has dropped to an upper level so it can take
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 281) appropriate action (e.g. warning user that battery level is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 282) low).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 283)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 284) Access: Read, Write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 285)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 286) Valid values: 0 - 100 (percent)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 287)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 288) What: /sys/class/power_supply/<supply_name>/capacity_alert_min
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 289) Date: July 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 290) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 291) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 292) Minimum battery capacity trip-wire value where the supply will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 293) notify user-space of the event. This is normally used for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 294) battery discharging scenario where user-space needs to know the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 295) battery has dropped to a lower level so it can take
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 296) appropriate action (e.g. warning user that battery level is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 297) critically low).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 298)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 299) Access: Read, Write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 300)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 301) Valid values: 0 - 100 (percent)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 302)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 303) What: /sys/class/power_supply/<supply_name>/capacity_error_margin
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 304) Date: April 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 305) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 306) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 307) Battery capacity measurement becomes unreliable without
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 308) recalibration. This values provides the maximum error
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 309) margin expected to exist by the fuel gauge in percent.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 310) Values close to 0% will be returned after (re-)calibration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 311) has happened. Over time the error margin will increase.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 312) 100% means, that the capacity related values are basically
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 313) completely useless.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 314)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 315) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 316)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 317) Valid values: 0 - 100 (percent)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 318)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 319) What: /sys/class/power_supply/<supply_name>/capacity_level
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 320) Date: June 2009
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 321) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 322) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 323) Coarse representation of battery capacity.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 324)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 325) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 326)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 327) Valid values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 328) "Unknown", "Critical", "Low", "Normal", "High",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 329) "Full"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 330)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 331) What: /sys/class/power_supply/<supply_name>/charge_control_limit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 332) Date: Oct 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 333) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 334) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 335) Maximum allowable charging current. Used for charge rate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 336) throttling for thermal cooling or improving battery health.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 337)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 338) Access: Read, Write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 339)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 340) Valid values: Represented in microamps
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 341)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 342) What: /sys/class/power_supply/<supply_name>/charge_control_limit_max
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 343) Date: Oct 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 344) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 345) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 346) Maximum legal value for the charge_control_limit property.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 347)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 348) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 349)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 350) Valid values: Represented in microamps
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 351)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 352) What: /sys/class/power_supply/<supply_name>/charge_control_start_threshold
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 353) Date: April 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 354) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 355) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 356) Represents a battery percentage level, below which charging will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 357) begin.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 358)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 359) Access: Read, Write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 360) Valid values: 0 - 100 (percent)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 361)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 362) What: /sys/class/power_supply/<supply_name>/charge_control_end_threshold
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 363) Date: April 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 364) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 365) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 366) Represents a battery percentage level, above which charging will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 367) stop.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 368)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 369) Access: Read, Write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 370)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 371) Valid values: 0 - 100 (percent)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 372)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 373) What: /sys/class/power_supply/<supply_name>/charge_type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 374) Date: July 2009
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 375) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 376) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 377) Represents the type of charging currently being applied to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 378) battery. "Trickle", "Fast", and "Standard" all mean different
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 379) charging speeds. "Adaptive" means that the charger uses some
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 380) algorithm to adjust the charge rate dynamically, without
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 381) any user configuration required. "Custom" means that the charger
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 382) uses the charge_control_* properties as configuration for some
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 383) different algorithm.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 384)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 385) Access: Read, Write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 386)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 387) Valid values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 388) "Unknown", "N/A", "Trickle", "Fast", "Standard",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 389) "Adaptive", "Custom"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 390)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 391) What: /sys/class/power_supply/<supply_name>/charge_term_current
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 392) Date: July 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 393) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 394) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 395) Reports the charging current value which is used to determine
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 396) when the battery is considered full and charging should end.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 397)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 398) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 399)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 400) Valid values: Represented in microamps
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 401)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 402) What: /sys/class/power_supply/<supply_name>/health
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 403) Date: May 2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 404) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 405) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 406) Reports the health of the battery or battery side of charger
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 407) functionality.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 408)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 409) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 410)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 411) Valid values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 412) "Unknown", "Good", "Overheat", "Dead",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 413) "Over voltage", "Unspecified failure", "Cold",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 414) "Watchdog timer expire", "Safety timer expire",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 415) "Over current", "Calibration required", "Warm",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 416) "Cool", "Hot"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 417)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 418) What: /sys/class/power_supply/<supply_name>/precharge_current
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 419) Date: June 2017
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 420) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 421) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 422) Reports the charging current applied during pre-charging phase
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 423) for a battery charge cycle.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 424)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 425) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 426)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 427) Valid values: Represented in microamps
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 428)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 429) What: /sys/class/power_supply/<supply_name>/present
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 430) Date: May 2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 431) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 432) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 433) Reports whether a battery is present or not in the system.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 434)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 435) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 436)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 437) Valid values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 438)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 439) == =======
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 440) 0: Absent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 441) 1: Present
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 442) == =======
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 443)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 444) What: /sys/class/power_supply/<supply_name>/status
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 445) Date: May 2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 446) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 447) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 448) Represents the charging status of the battery. Normally this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 449) is read-only reporting although for some supplies this can be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 450) used to enable/disable charging to the battery.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 451)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 452) Access: Read, Write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 453)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 454) Valid values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 455) "Unknown", "Charging", "Discharging",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 456) "Not charging", "Full"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 457)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 458) What: /sys/class/power_supply/<supply_name>/technology
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 459) Date: May 2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 460) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 461) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 462) Describes the battery technology supported by the supply.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 463)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 464) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 465)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 466) Valid values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 467) "Unknown", "NiMH", "Li-ion", "Li-poly", "LiFe",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 468) "NiCd", "LiMn"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 469)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 470)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 471) What: /sys/class/power_supply/<supply_name>/voltage_avg,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 472) Date: May 2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 473) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 474) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 475) Reports an average VBAT voltage reading for the battery, over a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 476) fixed period. Normally devices will provide a fixed interval in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 477) which they average readings to smooth out the reported value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 478)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 479) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 480)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 481) Valid values: Represented in microvolts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 482)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 483) **USB Properties**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 484)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 485) What: /sys/class/power_supply/<supply_name>/input_current_limit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 486) Date: July 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 487) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 488) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 489) Details the incoming IBUS current limit currently set in the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 490) supply. Normally this is configured based on the type of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 491) connection made (e.g. A configured SDP should output a maximum
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 492) of 500mA so the input current limit is set to the same value).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 493) Use preferably input_power_limit, and for problems that can be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 494) solved using power limit use input_current_limit.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 495)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 496) Access: Read, Write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 497)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 498) Valid values: Represented in microamps
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 499)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 500) What: /sys/class/power_supply/<supply_name>/input_voltage_limit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 501) Date: May 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 502) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 503) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 504) This entry configures the incoming VBUS voltage limit currently
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 505) set in the supply. Normally this is configured based on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 506) system-level knowledge or user input (e.g. This is part of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 507) Pixel C's thermal management strategy to effectively limit the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 508) input power to 5V when the screen is on to meet Google's skin
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 509) temperature targets). Note that this feature should not be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 510) used for safety critical things.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 511) Use preferably input_power_limit, and for problems that can be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 512) solved using power limit use input_voltage_limit.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 513)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 514) Access: Read, Write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 515)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 516) Valid values: Represented in microvolts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 517)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 518) What: /sys/class/power_supply/<supply_name>/input_power_limit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 519) Date: May 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 520) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 521) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 522) This entry configures the incoming power limit currently set
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 523) in the supply. Normally this is configured based on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 524) system-level knowledge or user input. Use preferably this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 525) feature to limit the incoming power and use current/voltage
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 526) limit only for problems that can be solved using power limit.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 527)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 528) Access: Read, Write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 529)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 530) Valid values: Represented in microwatts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 531)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 532) What: /sys/class/power_supply/<supply_name>/online,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 533) Date: May 2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 534) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 535) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 536) Indicates if VBUS is present for the supply. When the supply is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 537) online, and the supply allows it, then it's possible to switch
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 538) between online states (e.g. Fixed -> Programmable for a PD_PPS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 539) USB supply so voltage and current can be controlled).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 540)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 541) Access: Read, Write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 542)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 543) Valid values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 544)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 545) == ==================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 546) 0: Offline
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 547) 1: Online Fixed - Fixed Voltage Supply
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 548) 2: Online Programmable - Programmable Voltage Supply
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 549) == ==================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 550)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 551) What: /sys/class/power_supply/<supply_name>/usb_type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 552) Date: March 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 553) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 554) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 555) Reports what type of USB connection is currently active for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 556) the supply, for example it can show if USB-PD capable source
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 557) is attached.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 558)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 559) Access: Read-Only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 560)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 561) Valid values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 562) "Unknown", "SDP", "DCP", "CDP", "ACA", "C", "PD",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 563) "PD_DRP", "PD_PPS", "BrickID"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 564)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 565) **Device Specific Properties**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 566)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 567) What: /sys/class/power/ds2760-battery.*/charge_now
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 568) Date: May 2010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 569) KernelVersion: 2.6.35
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 570) Contact: Daniel Mack <daniel@caiaq.de>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 571) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 572) This file is writeable and can be used to set the current
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 573) coloumb counter value inside the battery monitor chip. This
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 574) is needed for unavoidable corrections of aging batteries.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 575) A userspace daemon can monitor the battery charging logic
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 576) and once the counter drops out of considerable bounds, take
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 577) appropriate action.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 578)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 579) What: /sys/class/power/ds2760-battery.*/charge_full
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 580) Date: May 2010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 581) KernelVersion: 2.6.35
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 582) Contact: Daniel Mack <daniel@caiaq.de>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 583) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 584) This file is writeable and can be used to set the assumed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 585) battery 'full level'. As batteries age, this value has to be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 586) amended over time.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 587)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 588) What: /sys/class/power_supply/max14577-charger/device/fast_charge_timer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 589) Date: October 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 590) KernelVersion: 3.18.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 591) Contact: Krzysztof Kozlowski <krzk@kernel.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 592) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 593) This entry shows and sets the maximum time the max14577
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 594) charger operates in fast-charge mode. When the timer expires
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 595) the device will terminate fast-charge mode (charging current
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 596) will drop to 0 A) and will trigger interrupt.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 597)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 598) Valid values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 599)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 600) - 5, 6 or 7 (hours),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 601) - 0: disabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 602)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 603) What: /sys/class/power_supply/max77693-charger/device/fast_charge_timer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 604) Date: January 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 605) KernelVersion: 3.19.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 606) Contact: Krzysztof Kozlowski <krzk@kernel.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 607) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 608) This entry shows and sets the maximum time the max77693
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 609) charger operates in fast-charge mode. When the timer expires
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 610) the device will terminate fast-charge mode (charging current
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 611) will drop to 0 A) and will trigger interrupt.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 612)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 613) Valid values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 614)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 615) - 4 - 16 (hours), step by 2 (rounded down)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 616) - 0: disabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 617)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 618) What: /sys/class/power_supply/max77693-charger/device/top_off_threshold_current
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 619) Date: January 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 620) KernelVersion: 3.19.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 621) Contact: Krzysztof Kozlowski <krzk@kernel.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 622) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 623) This entry shows and sets the charging current threshold for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 624) entering top-off charging mode. When charging current in fast
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 625) charge mode drops below this value, the charger will trigger
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 626) interrupt and start top-off charging mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 627)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 628) Valid values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 629)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 630) - 100000 - 200000 (microamps), step by 25000 (rounded down)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 631) - 200000 - 350000 (microamps), step by 50000 (rounded down)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 632) - 0: disabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 633)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 634) What: /sys/class/power_supply/max77693-charger/device/top_off_timer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 635) Date: January 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 636) KernelVersion: 3.19.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 637) Contact: Krzysztof Kozlowski <krzk@kernel.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 638) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 639) This entry shows and sets the maximum time the max77693
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 640) charger operates in top-off charge mode. When the timer expires
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 641) the device will terminate top-off charge mode (charging current
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 642) will drop to 0 A) and will trigger interrupt.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 643)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 644) Valid values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 645)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 646) - 0 - 70 (minutes), step by 10 (rounded down)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 647)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 648) What: /sys/class/power_supply/bq24257-charger/ovp_voltage
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 649) Date: October 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 650) KernelVersion: 4.4.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 651) Contact: Andreas Dannenberg <dannenberg@ti.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 652) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 653) This entry configures the overvoltage protection feature of bq24257-
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 654) type charger devices. This feature protects the device and other
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 655) components against damage from overvoltage on the input supply. See
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 656) device datasheet for details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 657)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 658) Valid values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 659)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 660) - 6000000, 6500000, 7000000, 8000000, 9000000, 9500000, 10000000,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 661) 10500000 (all uV)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 662)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 663) What: /sys/class/power_supply/bq24257-charger/in_dpm_voltage
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 664) Date: October 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 665) KernelVersion: 4.4.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 666) Contact: Andreas Dannenberg <dannenberg@ti.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 667) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 668) This entry configures the input dynamic power path management voltage of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 669) bq24257-type charger devices. Once the supply drops to the configured
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 670) voltage, the input current limit is reduced down to prevent the further
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 671) drop of the supply. When the IC enters this mode, the charge current is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 672) lower than the set value. See device datasheet for details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 673)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 674) Valid values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 675)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 676) - 4200000, 4280000, 4360000, 4440000, 4520000, 4600000, 4680000,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 677) 4760000 (all uV)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 678)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 679) What: /sys/class/power_supply/bq24257-charger/high_impedance_enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 680) Date: October 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 681) KernelVersion: 4.4.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 682) Contact: Andreas Dannenberg <dannenberg@ti.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 683) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 684) This entry allows enabling the high-impedance mode of bq24257-type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 685) charger devices. If enabled, it places the charger IC into low power
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 686) standby mode with the switch mode controller disabled. When disabled,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 687) the charger operates normally. See device datasheet for details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 688)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 689) Valid values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 690)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 691) - 1: enabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 692) - 0: disabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 693)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 694) What: /sys/class/power_supply/bq24257-charger/sysoff_enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 695) Date: October 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 696) KernelVersion: 4.4.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 697) Contact: Andreas Dannenberg <dannenberg@ti.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 698) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 699) This entry allows enabling the sysoff mode of bq24257-type charger
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 700) devices. If enabled and the input is removed, the internal battery FET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 701) is turned off in order to reduce the leakage from the BAT pin to less
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 702) than 1uA. Note that on some devices/systems this disconnects the battery
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 703) from the system. See device datasheet for details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 704)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 705) Valid values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 706)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 707) - 1: enabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 708) - 0: disabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 709)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 710) What: /sys/class/power_supply/<supply_name>/manufacture_year
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 711) Date: January 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 712) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 713) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 714) Reports the year (following Gregorian calendar) when the device has been
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 715) manufactured.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 716)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 717) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 718)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 719) Valid values: Reported as integer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 720)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 721) What: /sys/class/power_supply/<supply_name>/manufacture_month
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 722) Date: January 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 723) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 724) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 725) Reports the month when the device has been manufactured.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 726)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 727) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 728)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 729) Valid values: 1-12
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 730)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 731) What: /sys/class/power_supply/<supply_name>/manufacture_day
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 732) Date: January 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 733) Contact: linux-pm@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 734) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 735) Reports the day of month when the device has been manufactured.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 736)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 737) Access: Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 738) Valid values: 1-31