18c2ecf20Sopenharmony_ci**General Properties**
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/manufacturer
48c2ecf20Sopenharmony_ciDate:		May 2007
58c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
68c2ecf20Sopenharmony_ciDescription:
78c2ecf20Sopenharmony_ci		Reports the name of the device manufacturer.
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci		Access: Read
108c2ecf20Sopenharmony_ci		Valid values: Represented as string
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/model_name
138c2ecf20Sopenharmony_ciDate:		May 2007
148c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
158c2ecf20Sopenharmony_ciDescription:
168c2ecf20Sopenharmony_ci		Reports the name of the device model.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci		Access: Read
198c2ecf20Sopenharmony_ci		Valid values: Represented as string
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/serial_number
228c2ecf20Sopenharmony_ciDate:		January 2008
238c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
248c2ecf20Sopenharmony_ciDescription:
258c2ecf20Sopenharmony_ci		Reports the serial number of the device.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci		Access: Read
288c2ecf20Sopenharmony_ci		Valid values: Represented as string
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/type
318c2ecf20Sopenharmony_ciDate:		May 2010
328c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
338c2ecf20Sopenharmony_ciDescription:
348c2ecf20Sopenharmony_ci		Describes the main type of the supply.
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci		Access: Read
378c2ecf20Sopenharmony_ci		Valid values: "Battery", "UPS", "Mains", "USB", "Wireless"
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci**Battery and USB properties**
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/current_avg
428c2ecf20Sopenharmony_ciDate:		May 2007
438c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
448c2ecf20Sopenharmony_ciDescription:
458c2ecf20Sopenharmony_ci		Battery:
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci		  Reports an average IBAT current reading for the battery, over
488c2ecf20Sopenharmony_ci		  a fixed period. Normally devices will provide a fixed interval
498c2ecf20Sopenharmony_ci		  in which they average readings to smooth out the reported
508c2ecf20Sopenharmony_ci		  value.
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci		USB:
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_ci		  Reports an average IBUS current reading over a fixed period.
558c2ecf20Sopenharmony_ci		  Normally devices will provide a fixed interval in which they
568c2ecf20Sopenharmony_ci		  average readings to smooth out the reported value.
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ci		Access: Read
598c2ecf20Sopenharmony_ci
608c2ecf20Sopenharmony_ci		Valid values: Represented in microamps. Negative values are
618c2ecf20Sopenharmony_ci		used for discharging batteries, positive values for charging
628c2ecf20Sopenharmony_ci		batteries and for USB IBUS current.
638c2ecf20Sopenharmony_ci
648c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/current_max
658c2ecf20Sopenharmony_ciDate:		October 2010
668c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
678c2ecf20Sopenharmony_ciDescription:
688c2ecf20Sopenharmony_ci		Battery:
698c2ecf20Sopenharmony_ci
708c2ecf20Sopenharmony_ci		  Reports the maximum IBAT current allowed into the battery.
718c2ecf20Sopenharmony_ci
728c2ecf20Sopenharmony_ci		USB:
738c2ecf20Sopenharmony_ci
748c2ecf20Sopenharmony_ci		  Reports the maximum IBUS current the supply can support.
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ci		Access: Read
778c2ecf20Sopenharmony_ci		Valid values: Represented in microamps
788c2ecf20Sopenharmony_ci
798c2ecf20Sopenharmony_ciWhat: 		/sys/class/power_supply/<supply_name>/current_now
808c2ecf20Sopenharmony_ciDate:		May 2007
818c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
828c2ecf20Sopenharmony_ciDescription:
838c2ecf20Sopenharmony_ci
848c2ecf20Sopenharmony_ci		Battery:
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ci		  Reports an instant, single IBAT current reading for the
878c2ecf20Sopenharmony_ci		  battery. This value is not averaged/smoothed.
888c2ecf20Sopenharmony_ci
898c2ecf20Sopenharmony_ci		  Access: Read
908c2ecf20Sopenharmony_ci
918c2ecf20Sopenharmony_ci		USB:
928c2ecf20Sopenharmony_ci
938c2ecf20Sopenharmony_ci		  Reports the IBUS current supplied now. This value is generally
948c2ecf20Sopenharmony_ci		  read-only reporting, unless the 'online' state of the supply
958c2ecf20Sopenharmony_ci		  is set to be programmable, in which case this value can be set
968c2ecf20Sopenharmony_ci		  within the reported min/max range.
978c2ecf20Sopenharmony_ci
988c2ecf20Sopenharmony_ci		  Access: Read, Write
998c2ecf20Sopenharmony_ci
1008c2ecf20Sopenharmony_ci		Valid values: Represented in microamps. Negative values are
1018c2ecf20Sopenharmony_ci		used for discharging batteries, positive values for charging
1028c2ecf20Sopenharmony_ci		batteries and for USB IBUS current.
1038c2ecf20Sopenharmony_ci
1048c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/temp
1058c2ecf20Sopenharmony_ciDate:		May 2007
1068c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
1078c2ecf20Sopenharmony_ciDescription:
1088c2ecf20Sopenharmony_ci		Battery:
1098c2ecf20Sopenharmony_ci
1108c2ecf20Sopenharmony_ci		  Reports the current TBAT battery temperature reading.
1118c2ecf20Sopenharmony_ci
1128c2ecf20Sopenharmony_ci		USB:
1138c2ecf20Sopenharmony_ci
1148c2ecf20Sopenharmony_ci		  Reports the current supply temperature reading. This would
1158c2ecf20Sopenharmony_ci		  normally be the internal temperature of the device itself
1168c2ecf20Sopenharmony_ci		  (e.g TJUNC temperature of an IC)
1178c2ecf20Sopenharmony_ci
1188c2ecf20Sopenharmony_ci		Access: Read
1198c2ecf20Sopenharmony_ci
1208c2ecf20Sopenharmony_ci		Valid values: Represented in 1/10 Degrees Celsius
1218c2ecf20Sopenharmony_ci
1228c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/temp_alert_max
1238c2ecf20Sopenharmony_ciDate:		July 2012
1248c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
1258c2ecf20Sopenharmony_ciDescription:
1268c2ecf20Sopenharmony_ci		Battery:
1278c2ecf20Sopenharmony_ci
1288c2ecf20Sopenharmony_ci		  Maximum TBAT temperature trip-wire value where the supply will
1298c2ecf20Sopenharmony_ci		  notify user-space of the event.
1308c2ecf20Sopenharmony_ci
1318c2ecf20Sopenharmony_ci		USB:
1328c2ecf20Sopenharmony_ci
1338c2ecf20Sopenharmony_ci		  Maximum supply temperature trip-wire value where the supply
1348c2ecf20Sopenharmony_ci		  will notify user-space of the event.
1358c2ecf20Sopenharmony_ci
1368c2ecf20Sopenharmony_ci		This is normally used for the charging scenario where
1378c2ecf20Sopenharmony_ci		user-space needs to know if the temperature has crossed an
1388c2ecf20Sopenharmony_ci		upper threshold so it can take appropriate action (e.g. warning
1398c2ecf20Sopenharmony_ci		user that the temperature is critically high, and charging has
1408c2ecf20Sopenharmony_ci		stopped).
1418c2ecf20Sopenharmony_ci
1428c2ecf20Sopenharmony_ci		Access: Read
1438c2ecf20Sopenharmony_ci
1448c2ecf20Sopenharmony_ci		Valid values: Represented in 1/10 Degrees Celsius
1458c2ecf20Sopenharmony_ci
1468c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/temp_alert_min
1478c2ecf20Sopenharmony_ciDate:		July 2012
1488c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
1498c2ecf20Sopenharmony_ciDescription:
1508c2ecf20Sopenharmony_ci
1518c2ecf20Sopenharmony_ci		Battery:
1528c2ecf20Sopenharmony_ci
1538c2ecf20Sopenharmony_ci		  Minimum TBAT temperature trip-wire value where the supply will
1548c2ecf20Sopenharmony_ci		  notify user-space of the event.
1558c2ecf20Sopenharmony_ci
1568c2ecf20Sopenharmony_ci		USB:
1578c2ecf20Sopenharmony_ci
1588c2ecf20Sopenharmony_ci		  Minimum supply temperature trip-wire value where the supply
1598c2ecf20Sopenharmony_ci		  will notify user-space of the event.
1608c2ecf20Sopenharmony_ci
1618c2ecf20Sopenharmony_ci		This is normally used for the charging scenario where user-space
1628c2ecf20Sopenharmony_ci		needs to know if the temperature has crossed a lower threshold
1638c2ecf20Sopenharmony_ci		so it can take appropriate action (e.g. warning user that
1648c2ecf20Sopenharmony_ci		temperature level is high, and charging current has been
1658c2ecf20Sopenharmony_ci		reduced accordingly to remedy the situation).
1668c2ecf20Sopenharmony_ci
1678c2ecf20Sopenharmony_ci		Access: Read
1688c2ecf20Sopenharmony_ci
1698c2ecf20Sopenharmony_ci		Valid values: Represented in 1/10 Degrees Celsius
1708c2ecf20Sopenharmony_ci
1718c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/temp_max
1728c2ecf20Sopenharmony_ciDate:		July 2014
1738c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
1748c2ecf20Sopenharmony_ciDescription:
1758c2ecf20Sopenharmony_ci		Battery:
1768c2ecf20Sopenharmony_ci
1778c2ecf20Sopenharmony_ci		  Reports the maximum allowed TBAT battery temperature for
1788c2ecf20Sopenharmony_ci		  charging.
1798c2ecf20Sopenharmony_ci
1808c2ecf20Sopenharmony_ci		USB:
1818c2ecf20Sopenharmony_ci
1828c2ecf20Sopenharmony_ci		  Reports the maximum allowed supply temperature for operation.
1838c2ecf20Sopenharmony_ci
1848c2ecf20Sopenharmony_ci		Access: Read
1858c2ecf20Sopenharmony_ci
1868c2ecf20Sopenharmony_ci		Valid values: Represented in 1/10 Degrees Celsius
1878c2ecf20Sopenharmony_ci
1888c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/temp_min
1898c2ecf20Sopenharmony_ciDate:		July 2014
1908c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
1918c2ecf20Sopenharmony_ciDescription:
1928c2ecf20Sopenharmony_ci		Battery:
1938c2ecf20Sopenharmony_ci
1948c2ecf20Sopenharmony_ci		  Reports the minimum allowed TBAT battery temperature for
1958c2ecf20Sopenharmony_ci		  charging.
1968c2ecf20Sopenharmony_ci
1978c2ecf20Sopenharmony_ci		USB:
1988c2ecf20Sopenharmony_ci
1998c2ecf20Sopenharmony_ci		  Reports the minimum allowed supply temperature for operation.
2008c2ecf20Sopenharmony_ci
2018c2ecf20Sopenharmony_ci		Access: Read
2028c2ecf20Sopenharmony_ci
2038c2ecf20Sopenharmony_ci		Valid values: Represented in 1/10 Degrees Celsius
2048c2ecf20Sopenharmony_ci
2058c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/voltage_max,
2068c2ecf20Sopenharmony_ciDate:		January 2008
2078c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
2088c2ecf20Sopenharmony_ciDescription:
2098c2ecf20Sopenharmony_ci		Battery:
2108c2ecf20Sopenharmony_ci
2118c2ecf20Sopenharmony_ci		  Reports the maximum safe VBAT voltage permitted for the
2128c2ecf20Sopenharmony_ci		  battery, during charging.
2138c2ecf20Sopenharmony_ci
2148c2ecf20Sopenharmony_ci		USB:
2158c2ecf20Sopenharmony_ci
2168c2ecf20Sopenharmony_ci		  Reports the maximum VBUS voltage the supply can support.
2178c2ecf20Sopenharmony_ci
2188c2ecf20Sopenharmony_ci		Access: Read
2198c2ecf20Sopenharmony_ci
2208c2ecf20Sopenharmony_ci		Valid values: Represented in microvolts
2218c2ecf20Sopenharmony_ci
2228c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/voltage_min,
2238c2ecf20Sopenharmony_ciDate:		January 2008
2248c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
2258c2ecf20Sopenharmony_ciDescription:
2268c2ecf20Sopenharmony_ci		Battery:
2278c2ecf20Sopenharmony_ci
2288c2ecf20Sopenharmony_ci		  Reports the minimum safe VBAT voltage permitted for the
2298c2ecf20Sopenharmony_ci		  battery, during discharging.
2308c2ecf20Sopenharmony_ci
2318c2ecf20Sopenharmony_ci		USB:
2328c2ecf20Sopenharmony_ci
2338c2ecf20Sopenharmony_ci		  Reports the minimum VBUS voltage the supply can support.
2348c2ecf20Sopenharmony_ci
2358c2ecf20Sopenharmony_ci		Access: Read
2368c2ecf20Sopenharmony_ci
2378c2ecf20Sopenharmony_ci		Valid values: Represented in microvolts
2388c2ecf20Sopenharmony_ci
2398c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/voltage_now,
2408c2ecf20Sopenharmony_ciDate:		May 2007
2418c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
2428c2ecf20Sopenharmony_ciDescription:
2438c2ecf20Sopenharmony_ci		Battery:
2448c2ecf20Sopenharmony_ci
2458c2ecf20Sopenharmony_ci		  Reports an instant, single VBAT voltage reading for the
2468c2ecf20Sopenharmony_ci		  battery. This value is not averaged/smoothed.
2478c2ecf20Sopenharmony_ci
2488c2ecf20Sopenharmony_ci		  Access: Read
2498c2ecf20Sopenharmony_ci
2508c2ecf20Sopenharmony_ci		USB:
2518c2ecf20Sopenharmony_ci
2528c2ecf20Sopenharmony_ci		  Reports the VBUS voltage supplied now. This value is generally
2538c2ecf20Sopenharmony_ci		  read-only reporting, unless the 'online' state of the supply
2548c2ecf20Sopenharmony_ci		  is set to be programmable, in which case this value can be set
2558c2ecf20Sopenharmony_ci		  within the reported min/max range.
2568c2ecf20Sopenharmony_ci
2578c2ecf20Sopenharmony_ci		  Access: Read, Write
2588c2ecf20Sopenharmony_ci
2598c2ecf20Sopenharmony_ci		Valid values: Represented in microvolts
2608c2ecf20Sopenharmony_ci
2618c2ecf20Sopenharmony_ci**Battery Properties**
2628c2ecf20Sopenharmony_ci
2638c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/capacity
2648c2ecf20Sopenharmony_ciDate:		May 2007
2658c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
2668c2ecf20Sopenharmony_ciDescription:
2678c2ecf20Sopenharmony_ci		Fine grain representation of battery capacity.
2688c2ecf20Sopenharmony_ci
2698c2ecf20Sopenharmony_ci		Access: Read
2708c2ecf20Sopenharmony_ci
2718c2ecf20Sopenharmony_ci		Valid values: 0 - 100 (percent)
2728c2ecf20Sopenharmony_ci
2738c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/capacity_alert_max
2748c2ecf20Sopenharmony_ciDate:		July 2012
2758c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
2768c2ecf20Sopenharmony_ciDescription:
2778c2ecf20Sopenharmony_ci		Maximum battery capacity trip-wire value where the supply will
2788c2ecf20Sopenharmony_ci		notify user-space of the event. This is normally used for the
2798c2ecf20Sopenharmony_ci		battery discharging scenario where user-space needs to know the
2808c2ecf20Sopenharmony_ci		battery has dropped to an upper level so it can take
2818c2ecf20Sopenharmony_ci		appropriate action (e.g. warning user that battery level is
2828c2ecf20Sopenharmony_ci		low).
2838c2ecf20Sopenharmony_ci
2848c2ecf20Sopenharmony_ci		Access: Read, Write
2858c2ecf20Sopenharmony_ci
2868c2ecf20Sopenharmony_ci		Valid values: 0 - 100 (percent)
2878c2ecf20Sopenharmony_ci
2888c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/capacity_alert_min
2898c2ecf20Sopenharmony_ciDate:		July 2012
2908c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
2918c2ecf20Sopenharmony_ciDescription:
2928c2ecf20Sopenharmony_ci		Minimum battery capacity trip-wire value where the supply will
2938c2ecf20Sopenharmony_ci		notify user-space of the event. This is normally used for the
2948c2ecf20Sopenharmony_ci		battery discharging scenario where user-space needs to know the
2958c2ecf20Sopenharmony_ci		battery has dropped to a lower level so it can take
2968c2ecf20Sopenharmony_ci		appropriate action (e.g. warning user that battery level is
2978c2ecf20Sopenharmony_ci		critically low).
2988c2ecf20Sopenharmony_ci
2998c2ecf20Sopenharmony_ci		Access: Read, Write
3008c2ecf20Sopenharmony_ci
3018c2ecf20Sopenharmony_ci		Valid values: 0 - 100 (percent)
3028c2ecf20Sopenharmony_ci
3038c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/capacity_error_margin
3048c2ecf20Sopenharmony_ciDate:		April 2019
3058c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
3068c2ecf20Sopenharmony_ciDescription:
3078c2ecf20Sopenharmony_ci		Battery capacity measurement becomes unreliable without
3088c2ecf20Sopenharmony_ci		recalibration. This values provides the maximum error
3098c2ecf20Sopenharmony_ci		margin expected to exist by the fuel gauge in percent.
3108c2ecf20Sopenharmony_ci		Values close to 0% will be returned after (re-)calibration
3118c2ecf20Sopenharmony_ci		has happened. Over time the error margin will increase.
3128c2ecf20Sopenharmony_ci		100% means, that the capacity related values are basically
3138c2ecf20Sopenharmony_ci		completely useless.
3148c2ecf20Sopenharmony_ci
3158c2ecf20Sopenharmony_ci		Access: Read
3168c2ecf20Sopenharmony_ci
3178c2ecf20Sopenharmony_ci		Valid values: 0 - 100 (percent)
3188c2ecf20Sopenharmony_ci
3198c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/capacity_level
3208c2ecf20Sopenharmony_ciDate:		June 2009
3218c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
3228c2ecf20Sopenharmony_ciDescription:
3238c2ecf20Sopenharmony_ci		Coarse representation of battery capacity.
3248c2ecf20Sopenharmony_ci
3258c2ecf20Sopenharmony_ci		Access: Read
3268c2ecf20Sopenharmony_ci
3278c2ecf20Sopenharmony_ci		Valid values:
3288c2ecf20Sopenharmony_ci			      "Unknown", "Critical", "Low", "Normal", "High",
3298c2ecf20Sopenharmony_ci			      "Full"
3308c2ecf20Sopenharmony_ci
3318c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/charge_control_limit
3328c2ecf20Sopenharmony_ciDate:		Oct 2012
3338c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
3348c2ecf20Sopenharmony_ciDescription:
3358c2ecf20Sopenharmony_ci		Maximum allowable charging current. Used for charge rate
3368c2ecf20Sopenharmony_ci		throttling for thermal cooling or improving battery health.
3378c2ecf20Sopenharmony_ci
3388c2ecf20Sopenharmony_ci		Access: Read, Write
3398c2ecf20Sopenharmony_ci
3408c2ecf20Sopenharmony_ci		Valid values: Represented in microamps
3418c2ecf20Sopenharmony_ci
3428c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/charge_control_limit_max
3438c2ecf20Sopenharmony_ciDate:		Oct 2012
3448c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
3458c2ecf20Sopenharmony_ciDescription:
3468c2ecf20Sopenharmony_ci		Maximum legal value for the charge_control_limit property.
3478c2ecf20Sopenharmony_ci
3488c2ecf20Sopenharmony_ci		Access: Read
3498c2ecf20Sopenharmony_ci
3508c2ecf20Sopenharmony_ci		Valid values: Represented in microamps
3518c2ecf20Sopenharmony_ci
3528c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/charge_control_start_threshold
3538c2ecf20Sopenharmony_ciDate:		April 2019
3548c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
3558c2ecf20Sopenharmony_ciDescription:
3568c2ecf20Sopenharmony_ci		Represents a battery percentage level, below which charging will
3578c2ecf20Sopenharmony_ci		begin.
3588c2ecf20Sopenharmony_ci
3598c2ecf20Sopenharmony_ci		Access: Read, Write
3608c2ecf20Sopenharmony_ci		Valid values: 0 - 100 (percent)
3618c2ecf20Sopenharmony_ci
3628c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/charge_control_end_threshold
3638c2ecf20Sopenharmony_ciDate:		April 2019
3648c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
3658c2ecf20Sopenharmony_ciDescription:
3668c2ecf20Sopenharmony_ci		Represents a battery percentage level, above which charging will
3678c2ecf20Sopenharmony_ci		stop.
3688c2ecf20Sopenharmony_ci
3698c2ecf20Sopenharmony_ci		Access: Read, Write
3708c2ecf20Sopenharmony_ci
3718c2ecf20Sopenharmony_ci		Valid values: 0 - 100 (percent)
3728c2ecf20Sopenharmony_ci
3738c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/charge_type
3748c2ecf20Sopenharmony_ciDate:		July 2009
3758c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
3768c2ecf20Sopenharmony_ciDescription:
3778c2ecf20Sopenharmony_ci		Represents the type of charging currently being applied to the
3788c2ecf20Sopenharmony_ci		battery. "Trickle", "Fast", and "Standard" all mean different
3798c2ecf20Sopenharmony_ci		charging speeds. "Adaptive" means that the charger uses some
3808c2ecf20Sopenharmony_ci		algorithm to adjust the charge rate dynamically, without
3818c2ecf20Sopenharmony_ci		any user configuration required. "Custom" means that the charger
3828c2ecf20Sopenharmony_ci		uses the charge_control_* properties as configuration for some
3838c2ecf20Sopenharmony_ci		different algorithm.
3848c2ecf20Sopenharmony_ci
3858c2ecf20Sopenharmony_ci		Access: Read, Write
3868c2ecf20Sopenharmony_ci
3878c2ecf20Sopenharmony_ci		Valid values:
3888c2ecf20Sopenharmony_ci			      "Unknown", "N/A", "Trickle", "Fast", "Standard",
3898c2ecf20Sopenharmony_ci			      "Adaptive", "Custom"
3908c2ecf20Sopenharmony_ci
3918c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/charge_term_current
3928c2ecf20Sopenharmony_ciDate:		July 2014
3938c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
3948c2ecf20Sopenharmony_ciDescription:
3958c2ecf20Sopenharmony_ci		Reports the charging current value which is used to determine
3968c2ecf20Sopenharmony_ci		when the battery is considered full and charging should end.
3978c2ecf20Sopenharmony_ci
3988c2ecf20Sopenharmony_ci		Access: Read
3998c2ecf20Sopenharmony_ci
4008c2ecf20Sopenharmony_ci		Valid values: Represented in microamps
4018c2ecf20Sopenharmony_ci
4028c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/health
4038c2ecf20Sopenharmony_ciDate:		May 2007
4048c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
4058c2ecf20Sopenharmony_ciDescription:
4068c2ecf20Sopenharmony_ci		Reports the health of the battery or battery side of charger
4078c2ecf20Sopenharmony_ci		functionality.
4088c2ecf20Sopenharmony_ci
4098c2ecf20Sopenharmony_ci		Access: Read
4108c2ecf20Sopenharmony_ci
4118c2ecf20Sopenharmony_ci		Valid values:
4128c2ecf20Sopenharmony_ci			      "Unknown", "Good", "Overheat", "Dead",
4138c2ecf20Sopenharmony_ci			      "Over voltage", "Unspecified failure", "Cold",
4148c2ecf20Sopenharmony_ci			      "Watchdog timer expire", "Safety timer expire",
4158c2ecf20Sopenharmony_ci			      "Over current", "Calibration required", "Warm",
4168c2ecf20Sopenharmony_ci			      "Cool", "Hot"
4178c2ecf20Sopenharmony_ci
4188c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/precharge_current
4198c2ecf20Sopenharmony_ciDate:		June 2017
4208c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
4218c2ecf20Sopenharmony_ciDescription:
4228c2ecf20Sopenharmony_ci		Reports the charging current applied during pre-charging phase
4238c2ecf20Sopenharmony_ci		for a battery charge cycle.
4248c2ecf20Sopenharmony_ci
4258c2ecf20Sopenharmony_ci		Access: Read
4268c2ecf20Sopenharmony_ci
4278c2ecf20Sopenharmony_ci		Valid values: Represented in microamps
4288c2ecf20Sopenharmony_ci
4298c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/present
4308c2ecf20Sopenharmony_ciDate:		May 2007
4318c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
4328c2ecf20Sopenharmony_ciDescription:
4338c2ecf20Sopenharmony_ci		Reports whether a battery is present or not in the system.
4348c2ecf20Sopenharmony_ci
4358c2ecf20Sopenharmony_ci		Access: Read
4368c2ecf20Sopenharmony_ci
4378c2ecf20Sopenharmony_ci		Valid values:
4388c2ecf20Sopenharmony_ci
4398c2ecf20Sopenharmony_ci			== =======
4408c2ecf20Sopenharmony_ci			0: Absent
4418c2ecf20Sopenharmony_ci			1: Present
4428c2ecf20Sopenharmony_ci			== =======
4438c2ecf20Sopenharmony_ci
4448c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/status
4458c2ecf20Sopenharmony_ciDate:		May 2007
4468c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
4478c2ecf20Sopenharmony_ciDescription:
4488c2ecf20Sopenharmony_ci		Represents the charging status of the battery. Normally this
4498c2ecf20Sopenharmony_ci		is read-only reporting although for some supplies this can be
4508c2ecf20Sopenharmony_ci		used to enable/disable charging to the battery.
4518c2ecf20Sopenharmony_ci
4528c2ecf20Sopenharmony_ci		Access: Read, Write
4538c2ecf20Sopenharmony_ci
4548c2ecf20Sopenharmony_ci		Valid values:
4558c2ecf20Sopenharmony_ci			      "Unknown", "Charging", "Discharging",
4568c2ecf20Sopenharmony_ci			      "Not charging", "Full"
4578c2ecf20Sopenharmony_ci
4588c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/technology
4598c2ecf20Sopenharmony_ciDate:		May 2007
4608c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
4618c2ecf20Sopenharmony_ciDescription:
4628c2ecf20Sopenharmony_ci		Describes the battery technology supported by the supply.
4638c2ecf20Sopenharmony_ci
4648c2ecf20Sopenharmony_ci		Access: Read
4658c2ecf20Sopenharmony_ci
4668c2ecf20Sopenharmony_ci		Valid values:
4678c2ecf20Sopenharmony_ci			      "Unknown", "NiMH", "Li-ion", "Li-poly", "LiFe",
4688c2ecf20Sopenharmony_ci			      "NiCd", "LiMn"
4698c2ecf20Sopenharmony_ci
4708c2ecf20Sopenharmony_ci
4718c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/voltage_avg,
4728c2ecf20Sopenharmony_ciDate:		May 2007
4738c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
4748c2ecf20Sopenharmony_ciDescription:
4758c2ecf20Sopenharmony_ci		Reports an average VBAT voltage reading for the battery, over a
4768c2ecf20Sopenharmony_ci		fixed period. Normally devices will provide a fixed interval in
4778c2ecf20Sopenharmony_ci		which they average readings to smooth out the reported value.
4788c2ecf20Sopenharmony_ci
4798c2ecf20Sopenharmony_ci		Access: Read
4808c2ecf20Sopenharmony_ci
4818c2ecf20Sopenharmony_ci		Valid values: Represented in microvolts
4828c2ecf20Sopenharmony_ci
4838c2ecf20Sopenharmony_ci**USB Properties**
4848c2ecf20Sopenharmony_ci
4858c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/input_current_limit
4868c2ecf20Sopenharmony_ciDate:		July 2014
4878c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
4888c2ecf20Sopenharmony_ciDescription:
4898c2ecf20Sopenharmony_ci		Details the incoming IBUS current limit currently set in the
4908c2ecf20Sopenharmony_ci		supply. Normally this is configured based on the type of
4918c2ecf20Sopenharmony_ci		connection made (e.g. A configured SDP should output a maximum
4928c2ecf20Sopenharmony_ci		of 500mA so the input current limit is set to the same value).
4938c2ecf20Sopenharmony_ci		Use preferably input_power_limit, and for problems that can be
4948c2ecf20Sopenharmony_ci		solved using power limit use input_current_limit.
4958c2ecf20Sopenharmony_ci
4968c2ecf20Sopenharmony_ci		Access: Read, Write
4978c2ecf20Sopenharmony_ci
4988c2ecf20Sopenharmony_ci		Valid values: Represented in microamps
4998c2ecf20Sopenharmony_ci
5008c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/input_voltage_limit
5018c2ecf20Sopenharmony_ciDate:		May 2019
5028c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
5038c2ecf20Sopenharmony_ciDescription:
5048c2ecf20Sopenharmony_ci		This entry configures the incoming VBUS voltage limit currently
5058c2ecf20Sopenharmony_ci		set in the supply. Normally this is configured based on
5068c2ecf20Sopenharmony_ci		system-level knowledge or user input (e.g. This is part of the
5078c2ecf20Sopenharmony_ci		Pixel C's thermal management strategy to effectively limit the
5088c2ecf20Sopenharmony_ci		input power to 5V when the screen is on to meet Google's skin
5098c2ecf20Sopenharmony_ci		temperature targets). Note that this feature should not be
5108c2ecf20Sopenharmony_ci		used for safety critical things.
5118c2ecf20Sopenharmony_ci		Use preferably input_power_limit, and for problems that can be
5128c2ecf20Sopenharmony_ci		solved using power limit use input_voltage_limit.
5138c2ecf20Sopenharmony_ci
5148c2ecf20Sopenharmony_ci		Access: Read, Write
5158c2ecf20Sopenharmony_ci
5168c2ecf20Sopenharmony_ci		Valid values: Represented in microvolts
5178c2ecf20Sopenharmony_ci
5188c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/input_power_limit
5198c2ecf20Sopenharmony_ciDate:		May 2019
5208c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
5218c2ecf20Sopenharmony_ciDescription:
5228c2ecf20Sopenharmony_ci		This entry configures the incoming power limit currently set
5238c2ecf20Sopenharmony_ci		in the supply. Normally this is configured based on
5248c2ecf20Sopenharmony_ci		system-level knowledge or user input. Use preferably this
5258c2ecf20Sopenharmony_ci		feature to limit the incoming power and use current/voltage
5268c2ecf20Sopenharmony_ci		limit only for problems that can be solved using power limit.
5278c2ecf20Sopenharmony_ci
5288c2ecf20Sopenharmony_ci		Access: Read, Write
5298c2ecf20Sopenharmony_ci
5308c2ecf20Sopenharmony_ci		Valid values: Represented in microwatts
5318c2ecf20Sopenharmony_ci
5328c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/online,
5338c2ecf20Sopenharmony_ciDate:		May 2007
5348c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
5358c2ecf20Sopenharmony_ciDescription:
5368c2ecf20Sopenharmony_ci		Indicates if VBUS is present for the supply. When the supply is
5378c2ecf20Sopenharmony_ci		online, and the supply allows it, then it's possible to switch
5388c2ecf20Sopenharmony_ci		between online states (e.g. Fixed -> Programmable for a PD_PPS
5398c2ecf20Sopenharmony_ci		USB supply so voltage and current can be controlled).
5408c2ecf20Sopenharmony_ci
5418c2ecf20Sopenharmony_ci		Access: Read, Write
5428c2ecf20Sopenharmony_ci
5438c2ecf20Sopenharmony_ci		Valid values:
5448c2ecf20Sopenharmony_ci
5458c2ecf20Sopenharmony_ci			== ==================================================
5468c2ecf20Sopenharmony_ci			0: Offline
5478c2ecf20Sopenharmony_ci			1: Online Fixed - Fixed Voltage Supply
5488c2ecf20Sopenharmony_ci			2: Online Programmable - Programmable Voltage Supply
5498c2ecf20Sopenharmony_ci			== ==================================================
5508c2ecf20Sopenharmony_ci
5518c2ecf20Sopenharmony_ciWhat: 		/sys/class/power_supply/<supply_name>/usb_type
5528c2ecf20Sopenharmony_ciDate:		March 2018
5538c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
5548c2ecf20Sopenharmony_ciDescription:
5558c2ecf20Sopenharmony_ci		Reports what type of USB connection is currently active for
5568c2ecf20Sopenharmony_ci		the supply, for example it can show if USB-PD capable source
5578c2ecf20Sopenharmony_ci		is attached.
5588c2ecf20Sopenharmony_ci
5598c2ecf20Sopenharmony_ci		Access: Read-Only
5608c2ecf20Sopenharmony_ci
5618c2ecf20Sopenharmony_ci		Valid values:
5628c2ecf20Sopenharmony_ci			      "Unknown", "SDP", "DCP", "CDP", "ACA", "C", "PD",
5638c2ecf20Sopenharmony_ci			      "PD_DRP", "PD_PPS", "BrickID"
5648c2ecf20Sopenharmony_ci
5658c2ecf20Sopenharmony_ci**Device Specific Properties**
5668c2ecf20Sopenharmony_ci
5678c2ecf20Sopenharmony_ciWhat:		/sys/class/power/ds2760-battery.*/charge_now
5688c2ecf20Sopenharmony_ciDate:		May 2010
5698c2ecf20Sopenharmony_ciKernelVersion:	2.6.35
5708c2ecf20Sopenharmony_ciContact:	Daniel Mack <daniel@caiaq.de>
5718c2ecf20Sopenharmony_ciDescription:
5728c2ecf20Sopenharmony_ci		This file is writeable and can be used to set the current
5738c2ecf20Sopenharmony_ci		coloumb counter value inside the battery monitor chip. This
5748c2ecf20Sopenharmony_ci		is needed for unavoidable corrections of aging batteries.
5758c2ecf20Sopenharmony_ci		A userspace daemon can monitor the battery charging logic
5768c2ecf20Sopenharmony_ci		and once the counter drops out of considerable bounds, take
5778c2ecf20Sopenharmony_ci		appropriate action.
5788c2ecf20Sopenharmony_ci
5798c2ecf20Sopenharmony_ciWhat:		/sys/class/power/ds2760-battery.*/charge_full
5808c2ecf20Sopenharmony_ciDate:		May 2010
5818c2ecf20Sopenharmony_ciKernelVersion:	2.6.35
5828c2ecf20Sopenharmony_ciContact:	Daniel Mack <daniel@caiaq.de>
5838c2ecf20Sopenharmony_ciDescription:
5848c2ecf20Sopenharmony_ci		This file is writeable and can be used to set the assumed
5858c2ecf20Sopenharmony_ci		battery 'full level'. As batteries age, this value has to be
5868c2ecf20Sopenharmony_ci		amended over time.
5878c2ecf20Sopenharmony_ci
5888c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/max14577-charger/device/fast_charge_timer
5898c2ecf20Sopenharmony_ciDate:		October 2014
5908c2ecf20Sopenharmony_ciKernelVersion:	3.18.0
5918c2ecf20Sopenharmony_ciContact:	Krzysztof Kozlowski <krzk@kernel.org>
5928c2ecf20Sopenharmony_ciDescription:
5938c2ecf20Sopenharmony_ci		This entry shows and sets the maximum time the max14577
5948c2ecf20Sopenharmony_ci		charger operates in fast-charge mode. When the timer expires
5958c2ecf20Sopenharmony_ci		the device will terminate fast-charge mode (charging current
5968c2ecf20Sopenharmony_ci		will drop to 0 A) and will trigger interrupt.
5978c2ecf20Sopenharmony_ci
5988c2ecf20Sopenharmony_ci		Valid values:
5998c2ecf20Sopenharmony_ci
6008c2ecf20Sopenharmony_ci		- 5, 6 or 7 (hours),
6018c2ecf20Sopenharmony_ci		- 0: disabled.
6028c2ecf20Sopenharmony_ci
6038c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/max77693-charger/device/fast_charge_timer
6048c2ecf20Sopenharmony_ciDate:		January 2015
6058c2ecf20Sopenharmony_ciKernelVersion:	3.19.0
6068c2ecf20Sopenharmony_ciContact:	Krzysztof Kozlowski <krzk@kernel.org>
6078c2ecf20Sopenharmony_ciDescription:
6088c2ecf20Sopenharmony_ci		This entry shows and sets the maximum time the max77693
6098c2ecf20Sopenharmony_ci		charger operates in fast-charge mode. When the timer expires
6108c2ecf20Sopenharmony_ci		the device will terminate fast-charge mode (charging current
6118c2ecf20Sopenharmony_ci		will drop to 0 A) and will trigger interrupt.
6128c2ecf20Sopenharmony_ci
6138c2ecf20Sopenharmony_ci		Valid values:
6148c2ecf20Sopenharmony_ci
6158c2ecf20Sopenharmony_ci		- 4 - 16 (hours), step by 2 (rounded down)
6168c2ecf20Sopenharmony_ci		- 0: disabled.
6178c2ecf20Sopenharmony_ci
6188c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/max77693-charger/device/top_off_threshold_current
6198c2ecf20Sopenharmony_ciDate:		January 2015
6208c2ecf20Sopenharmony_ciKernelVersion:	3.19.0
6218c2ecf20Sopenharmony_ciContact:	Krzysztof Kozlowski <krzk@kernel.org>
6228c2ecf20Sopenharmony_ciDescription:
6238c2ecf20Sopenharmony_ci		This entry shows and sets the charging current threshold for
6248c2ecf20Sopenharmony_ci		entering top-off charging mode. When charging current in fast
6258c2ecf20Sopenharmony_ci		charge mode drops below this value, the charger will trigger
6268c2ecf20Sopenharmony_ci		interrupt and start top-off charging mode.
6278c2ecf20Sopenharmony_ci
6288c2ecf20Sopenharmony_ci		Valid values:
6298c2ecf20Sopenharmony_ci
6308c2ecf20Sopenharmony_ci		- 100000 - 200000 (microamps), step by 25000 (rounded down)
6318c2ecf20Sopenharmony_ci		- 200000 - 350000 (microamps), step by 50000 (rounded down)
6328c2ecf20Sopenharmony_ci		- 0: disabled.
6338c2ecf20Sopenharmony_ci
6348c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/max77693-charger/device/top_off_timer
6358c2ecf20Sopenharmony_ciDate:		January 2015
6368c2ecf20Sopenharmony_ciKernelVersion:	3.19.0
6378c2ecf20Sopenharmony_ciContact:	Krzysztof Kozlowski <krzk@kernel.org>
6388c2ecf20Sopenharmony_ciDescription:
6398c2ecf20Sopenharmony_ci		This entry shows and sets the maximum time the max77693
6408c2ecf20Sopenharmony_ci		charger operates in top-off charge mode. When the timer expires
6418c2ecf20Sopenharmony_ci		the device will terminate top-off charge mode (charging current
6428c2ecf20Sopenharmony_ci		will drop to 0 A) and will trigger interrupt.
6438c2ecf20Sopenharmony_ci
6448c2ecf20Sopenharmony_ci		Valid values:
6458c2ecf20Sopenharmony_ci
6468c2ecf20Sopenharmony_ci		- 0 - 70 (minutes), step by 10 (rounded down)
6478c2ecf20Sopenharmony_ci
6488c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/bq24257-charger/ovp_voltage
6498c2ecf20Sopenharmony_ciDate:		October 2015
6508c2ecf20Sopenharmony_ciKernelVersion:	4.4.0
6518c2ecf20Sopenharmony_ciContact:	Andreas Dannenberg <dannenberg@ti.com>
6528c2ecf20Sopenharmony_ciDescription:
6538c2ecf20Sopenharmony_ci		This entry configures the overvoltage protection feature of bq24257-
6548c2ecf20Sopenharmony_ci		type charger devices. This feature protects the device and other
6558c2ecf20Sopenharmony_ci		components against damage from overvoltage on the input supply. See
6568c2ecf20Sopenharmony_ci		device datasheet for details.
6578c2ecf20Sopenharmony_ci
6588c2ecf20Sopenharmony_ci		Valid values:
6598c2ecf20Sopenharmony_ci
6608c2ecf20Sopenharmony_ci		- 6000000, 6500000, 7000000, 8000000, 9000000, 9500000, 10000000,
6618c2ecf20Sopenharmony_ci		  10500000 (all uV)
6628c2ecf20Sopenharmony_ci
6638c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/bq24257-charger/in_dpm_voltage
6648c2ecf20Sopenharmony_ciDate:		October 2015
6658c2ecf20Sopenharmony_ciKernelVersion:	4.4.0
6668c2ecf20Sopenharmony_ciContact:	Andreas Dannenberg <dannenberg@ti.com>
6678c2ecf20Sopenharmony_ciDescription:
6688c2ecf20Sopenharmony_ci		This entry configures the input dynamic power path management voltage of
6698c2ecf20Sopenharmony_ci		bq24257-type charger devices. Once the supply drops to the configured
6708c2ecf20Sopenharmony_ci		voltage, the input current limit is reduced down to prevent the further
6718c2ecf20Sopenharmony_ci		drop of the supply. When the IC enters this mode, the charge current is
6728c2ecf20Sopenharmony_ci		lower than the set value. See device datasheet for details.
6738c2ecf20Sopenharmony_ci
6748c2ecf20Sopenharmony_ci		Valid values:
6758c2ecf20Sopenharmony_ci
6768c2ecf20Sopenharmony_ci		- 4200000, 4280000, 4360000, 4440000, 4520000, 4600000, 4680000,
6778c2ecf20Sopenharmony_ci		  4760000 (all uV)
6788c2ecf20Sopenharmony_ci
6798c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/bq24257-charger/high_impedance_enable
6808c2ecf20Sopenharmony_ciDate:		October 2015
6818c2ecf20Sopenharmony_ciKernelVersion:	4.4.0
6828c2ecf20Sopenharmony_ciContact:	Andreas Dannenberg <dannenberg@ti.com>
6838c2ecf20Sopenharmony_ciDescription:
6848c2ecf20Sopenharmony_ci		This entry allows enabling the high-impedance mode of bq24257-type
6858c2ecf20Sopenharmony_ci		charger devices. If enabled, it places the charger IC into low power
6868c2ecf20Sopenharmony_ci		standby mode with the switch mode controller disabled. When disabled,
6878c2ecf20Sopenharmony_ci		the charger operates normally. See device datasheet for details.
6888c2ecf20Sopenharmony_ci
6898c2ecf20Sopenharmony_ci		Valid values:
6908c2ecf20Sopenharmony_ci
6918c2ecf20Sopenharmony_ci		- 1: enabled
6928c2ecf20Sopenharmony_ci		- 0: disabled
6938c2ecf20Sopenharmony_ci
6948c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/bq24257-charger/sysoff_enable
6958c2ecf20Sopenharmony_ciDate:		October 2015
6968c2ecf20Sopenharmony_ciKernelVersion:	4.4.0
6978c2ecf20Sopenharmony_ciContact:	Andreas Dannenberg <dannenberg@ti.com>
6988c2ecf20Sopenharmony_ciDescription:
6998c2ecf20Sopenharmony_ci		This entry allows enabling the sysoff mode of bq24257-type charger
7008c2ecf20Sopenharmony_ci		devices. If enabled and the input is removed, the internal battery FET
7018c2ecf20Sopenharmony_ci		is turned off in order to reduce the leakage from the BAT pin to less
7028c2ecf20Sopenharmony_ci		than 1uA. Note that on some devices/systems this disconnects the battery
7038c2ecf20Sopenharmony_ci		from the system. See device datasheet for details.
7048c2ecf20Sopenharmony_ci
7058c2ecf20Sopenharmony_ci		Valid values:
7068c2ecf20Sopenharmony_ci
7078c2ecf20Sopenharmony_ci		- 1: enabled
7088c2ecf20Sopenharmony_ci		- 0: disabled
7098c2ecf20Sopenharmony_ci
7108c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/manufacture_year
7118c2ecf20Sopenharmony_ciDate:		January 2020
7128c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
7138c2ecf20Sopenharmony_ciDescription:
7148c2ecf20Sopenharmony_ci		Reports the year (following Gregorian calendar) when the device has been
7158c2ecf20Sopenharmony_ci		manufactured.
7168c2ecf20Sopenharmony_ci
7178c2ecf20Sopenharmony_ci		Access: Read
7188c2ecf20Sopenharmony_ci
7198c2ecf20Sopenharmony_ci		Valid values: Reported as integer
7208c2ecf20Sopenharmony_ci
7218c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/manufacture_month
7228c2ecf20Sopenharmony_ciDate:		January 2020
7238c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
7248c2ecf20Sopenharmony_ciDescription:
7258c2ecf20Sopenharmony_ci		Reports the month when the device has been manufactured.
7268c2ecf20Sopenharmony_ci
7278c2ecf20Sopenharmony_ci		Access: Read
7288c2ecf20Sopenharmony_ci
7298c2ecf20Sopenharmony_ci		Valid values: 1-12
7308c2ecf20Sopenharmony_ci
7318c2ecf20Sopenharmony_ciWhat:		/sys/class/power_supply/<supply_name>/manufacture_day
7328c2ecf20Sopenharmony_ciDate:		January 2020
7338c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
7348c2ecf20Sopenharmony_ciDescription:
7358c2ecf20Sopenharmony_ci		Reports the day of month when the device has been manufactured.
7368c2ecf20Sopenharmony_ci
7378c2ecf20Sopenharmony_ci		Access: Read
7388c2ecf20Sopenharmony_ci		Valid values: 1-31
739