Back to home page

OSCL-LXR

 
 

    


0001 **General Properties**
0002 
0003 What:           /sys/class/power_supply/<supply_name>/manufacturer
0004 Date:           May 2007
0005 Contact:        linux-pm@vger.kernel.org
0006 Description:
0007                 Reports the name of the device manufacturer.
0008 
0009                 Access: Read
0010                 Valid values: Represented as string
0011 
0012 What:           /sys/class/power_supply/<supply_name>/model_name
0013 Date:           May 2007
0014 Contact:        linux-pm@vger.kernel.org
0015 Description:
0016                 Reports the name of the device model.
0017 
0018                 Access: Read
0019                 Valid values: Represented as string
0020 
0021 What:           /sys/class/power_supply/<supply_name>/serial_number
0022 Date:           January 2008
0023 Contact:        linux-pm@vger.kernel.org
0024 Description:
0025                 Reports the serial number of the device.
0026 
0027                 Access: Read
0028                 Valid values: Represented as string
0029 
0030 What:           /sys/class/power_supply/<supply_name>/type
0031 Date:           May 2010
0032 Contact:        linux-pm@vger.kernel.org
0033 Description:
0034                 Describes the main type of the supply.
0035 
0036                 Access: Read
0037                 Valid values: "Battery", "UPS", "Mains", "USB", "Wireless"
0038 
0039 **Battery and USB properties**
0040 
0041 What:           /sys/class/power_supply/<supply_name>/current_avg
0042 Date:           May 2007
0043 Contact:        linux-pm@vger.kernel.org
0044 Description:
0045                 Battery:
0046 
0047                   Reports an average IBAT current reading for the battery, over
0048                   a fixed period. Normally devices will provide a fixed interval
0049                   in which they average readings to smooth out the reported
0050                   value.
0051 
0052                 USB:
0053 
0054                   Reports an average IBUS current reading over a fixed period.
0055                   Normally devices will provide a fixed interval in which they
0056                   average readings to smooth out the reported value.
0057 
0058                 Access: Read
0059 
0060                 Valid values: Represented in microamps. Negative values are
0061                 used for discharging batteries, positive values for charging
0062                 batteries and for USB IBUS current.
0063 
0064 What:           /sys/class/power_supply/<supply_name>/current_max
0065 Date:           October 2010
0066 Contact:        linux-pm@vger.kernel.org
0067 Description:
0068                 Battery:
0069 
0070                   Reports the maximum IBAT current allowed into the battery.
0071 
0072                 USB:
0073 
0074                   Reports the maximum IBUS current the supply can support.
0075 
0076                 Access: Read
0077                 Valid values: Represented in microamps
0078 
0079 What:           /sys/class/power_supply/<supply_name>/current_now
0080 Date:           May 2007
0081 Contact:        linux-pm@vger.kernel.org
0082 Description:
0083 
0084                 Battery:
0085 
0086                   Reports an instant, single IBAT current reading for the
0087                   battery. This value is not averaged/smoothed.
0088 
0089                   Access: Read
0090 
0091                 USB:
0092 
0093                   Reports the IBUS current supplied now. This value is generally
0094                   read-only reporting, unless the 'online' state of the supply
0095                   is set to be programmable, in which case this value can be set
0096                   within the reported min/max range.
0097 
0098                   Access: Read, Write
0099 
0100                 Valid values: Represented in microamps. Negative values are
0101                 used for discharging batteries, positive values for charging
0102                 batteries and for USB IBUS current.
0103 
0104 What:           /sys/class/power_supply/<supply_name>/temp
0105 Date:           May 2007
0106 Contact:        linux-pm@vger.kernel.org
0107 Description:
0108                 Battery:
0109 
0110                   Reports the current TBAT battery temperature reading.
0111 
0112                 USB:
0113 
0114                   Reports the current supply temperature reading. This would
0115                   normally be the internal temperature of the device itself
0116                   (e.g TJUNC temperature of an IC)
0117 
0118                 Access: Read
0119 
0120                 Valid values: Represented in 1/10 Degrees Celsius
0121 
0122 What:           /sys/class/power_supply/<supply_name>/temp_alert_max
0123 Date:           July 2012
0124 Contact:        linux-pm@vger.kernel.org
0125 Description:
0126                 Battery:
0127 
0128                   Maximum TBAT temperature trip-wire value where the supply will
0129                   notify user-space of the event.
0130 
0131                 USB:
0132 
0133                   Maximum supply temperature trip-wire value where the supply
0134                   will notify user-space of the event.
0135 
0136                 This is normally used for the charging scenario where
0137                 user-space needs to know if the temperature has crossed an
0138                 upper threshold so it can take appropriate action (e.g. warning
0139                 user that the temperature is critically high, and charging has
0140                 stopped).
0141 
0142                 Access: Read
0143 
0144                 Valid values: Represented in 1/10 Degrees Celsius
0145 
0146 What:           /sys/class/power_supply/<supply_name>/temp_alert_min
0147 Date:           July 2012
0148 Contact:        linux-pm@vger.kernel.org
0149 Description:
0150 
0151                 Battery:
0152 
0153                   Minimum TBAT temperature trip-wire value where the supply will
0154                   notify user-space of the event.
0155 
0156                 USB:
0157 
0158                   Minimum supply temperature trip-wire value where the supply
0159                   will notify user-space of the event.
0160 
0161                 This is normally used for the charging scenario where user-space
0162                 needs to know if the temperature has crossed a lower threshold
0163                 so it can take appropriate action (e.g. warning user that
0164                 temperature level is high, and charging current has been
0165                 reduced accordingly to remedy the situation).
0166 
0167                 Access: Read
0168 
0169                 Valid values: Represented in 1/10 Degrees Celsius
0170 
0171 What:           /sys/class/power_supply/<supply_name>/temp_max
0172 Date:           July 2014
0173 Contact:        linux-pm@vger.kernel.org
0174 Description:
0175                 Battery:
0176 
0177                   Reports the maximum allowed TBAT battery temperature for
0178                   charging.
0179 
0180                 USB:
0181 
0182                   Reports the maximum allowed supply temperature for operation.
0183 
0184                 Access: Read
0185 
0186                 Valid values: Represented in 1/10 Degrees Celsius
0187 
0188 What:           /sys/class/power_supply/<supply_name>/temp_min
0189 Date:           July 2014
0190 Contact:        linux-pm@vger.kernel.org
0191 Description:
0192                 Battery:
0193 
0194                   Reports the minimum allowed TBAT battery temperature for
0195                   charging.
0196 
0197                 USB:
0198 
0199                   Reports the minimum allowed supply temperature for operation.
0200 
0201                 Access: Read
0202 
0203                 Valid values: Represented in 1/10 Degrees Celsius
0204 
0205 What:           /sys/class/power_supply/<supply_name>/voltage_max,
0206 Date:           January 2008
0207 Contact:        linux-pm@vger.kernel.org
0208 Description:
0209                 Battery:
0210 
0211                   Reports the maximum safe VBAT voltage permitted for the
0212                   battery, during charging.
0213 
0214                 USB:
0215 
0216                   Reports the maximum VBUS voltage the supply can support.
0217 
0218                 Access: Read
0219 
0220                 Valid values: Represented in microvolts
0221 
0222 What:           /sys/class/power_supply/<supply_name>/voltage_min,
0223 Date:           January 2008
0224 Contact:        linux-pm@vger.kernel.org
0225 Description:
0226                 Battery:
0227 
0228                   Reports the minimum safe VBAT voltage permitted for the
0229                   battery, during discharging.
0230 
0231                 USB:
0232 
0233                   Reports the minimum VBUS voltage the supply can support.
0234 
0235                 Access: Read
0236 
0237                 Valid values: Represented in microvolts
0238 
0239 What:           /sys/class/power_supply/<supply_name>/voltage_now,
0240 Date:           May 2007
0241 Contact:        linux-pm@vger.kernel.org
0242 Description:
0243                 Battery:
0244 
0245                   Reports an instant, single VBAT voltage reading for the
0246                   battery. This value is not averaged/smoothed.
0247 
0248                   Access: Read
0249 
0250                 USB:
0251 
0252                   Reports the VBUS voltage supplied now. This value is generally
0253                   read-only reporting, unless the 'online' state of the supply
0254                   is set to be programmable, in which case this value can be set
0255                   within the reported min/max range.
0256 
0257                   Access: Read, Write
0258 
0259                 Valid values: Represented in microvolts
0260 
0261 **Battery Properties**
0262 
0263 What:           /sys/class/power_supply/<supply_name>/capacity
0264 Date:           May 2007
0265 Contact:        linux-pm@vger.kernel.org
0266 Description:
0267                 Fine grain representation of battery capacity.
0268 
0269                 Access: Read
0270 
0271                 Valid values: 0 - 100 (percent)
0272 
0273 What:           /sys/class/power_supply/<supply_name>/capacity_alert_max
0274 Date:           July 2012
0275 Contact:        linux-pm@vger.kernel.org
0276 Description:
0277                 Maximum battery capacity trip-wire value where the supply will
0278                 notify user-space of the event. This is normally used for the
0279                 battery discharging scenario where user-space needs to know the
0280                 battery has dropped to an upper level so it can take
0281                 appropriate action (e.g. warning user that battery level is
0282                 low).
0283 
0284                 Access: Read, Write
0285 
0286                 Valid values: 0 - 100 (percent)
0287 
0288 What:           /sys/class/power_supply/<supply_name>/capacity_alert_min
0289 Date:           July 2012
0290 Contact:        linux-pm@vger.kernel.org
0291 Description:
0292                 Minimum battery capacity trip-wire value where the supply will
0293                 notify user-space of the event. This is normally used for the
0294                 battery discharging scenario where user-space needs to know the
0295                 battery has dropped to a lower level so it can take
0296                 appropriate action (e.g. warning user that battery level is
0297                 critically low).
0298 
0299                 Access: Read, Write
0300 
0301                 Valid values: 0 - 100 (percent)
0302 
0303 What:           /sys/class/power_supply/<supply_name>/capacity_error_margin
0304 Date:           April 2019
0305 Contact:        linux-pm@vger.kernel.org
0306 Description:
0307                 Battery capacity measurement becomes unreliable without
0308                 recalibration. This values provides the maximum error
0309                 margin expected to exist by the fuel gauge in percent.
0310                 Values close to 0% will be returned after (re-)calibration
0311                 has happened. Over time the error margin will increase.
0312                 100% means, that the capacity related values are basically
0313                 completely useless.
0314 
0315                 Access: Read
0316 
0317                 Valid values: 0 - 100 (percent)
0318 
0319 What:           /sys/class/power_supply/<supply_name>/capacity_level
0320 Date:           June 2009
0321 Contact:        linux-pm@vger.kernel.org
0322 Description:
0323                 Coarse representation of battery capacity.
0324 
0325                 Access: Read
0326 
0327                 Valid values:
0328                               "Unknown", "Critical", "Low", "Normal", "High",
0329                               "Full"
0330 
0331 What:           /sys/class/power_supply/<supply_name>/charge_control_limit
0332 Date:           Oct 2012
0333 Contact:        linux-pm@vger.kernel.org
0334 Description:
0335                 Maximum allowable charging current. Used for charge rate
0336                 throttling for thermal cooling or improving battery health.
0337 
0338                 Access: Read, Write
0339 
0340                 Valid values: Represented in microamps
0341 
0342 What:           /sys/class/power_supply/<supply_name>/charge_control_limit_max
0343 Date:           Oct 2012
0344 Contact:        linux-pm@vger.kernel.org
0345 Description:
0346                 Maximum legal value for the charge_control_limit property.
0347 
0348                 Access: Read
0349 
0350                 Valid values: Represented in microamps
0351 
0352 What:           /sys/class/power_supply/<supply_name>/charge_control_start_threshold
0353 Date:           April 2019
0354 Contact:        linux-pm@vger.kernel.org
0355 Description:
0356                 Represents a battery percentage level, below which charging will
0357                 begin.
0358 
0359                 Access: Read, Write
0360                 Valid values: 0 - 100 (percent)
0361 
0362 What:           /sys/class/power_supply/<supply_name>/charge_control_end_threshold
0363 Date:           April 2019
0364 Contact:        linux-pm@vger.kernel.org
0365 Description:
0366                 Represents a battery percentage level, above which charging will
0367                 stop.
0368 
0369                 Access: Read, Write
0370 
0371                 Valid values: 0 - 100 (percent)
0372 
0373 What:           /sys/class/power_supply/<supply_name>/charge_type
0374 Date:           July 2009
0375 Contact:        linux-pm@vger.kernel.org
0376 Description:
0377                 Represents the type of charging currently being applied to the
0378                 battery. "Trickle", "Fast", and "Standard" all mean different
0379                 charging speeds. "Adaptive" means that the charger uses some
0380                 algorithm to adjust the charge rate dynamically, without
0381                 any user configuration required. "Custom" means that the charger
0382                 uses the charge_control_* properties as configuration for some
0383                 different algorithm. "Long Life" means the charger reduces its
0384                 charging rate in order to prolong the battery health. "Bypass"
0385                 means the charger bypasses the charging path around the
0386                 integrated converter allowing for a "smart" wall adaptor to
0387                 perform the power conversion externally.
0388 
0389                 Access: Read, Write
0390 
0391                 Valid values:
0392                               "Unknown", "N/A", "Trickle", "Fast", "Standard",
0393                               "Adaptive", "Custom", "Long Life", "Bypass"
0394 
0395 What:           /sys/class/power_supply/<supply_name>/charge_term_current
0396 Date:           July 2014
0397 Contact:        linux-pm@vger.kernel.org
0398 Description:
0399                 Reports the charging current value which is used to determine
0400                 when the battery is considered full and charging should end.
0401 
0402                 Access: Read
0403 
0404                 Valid values: Represented in microamps
0405 
0406 What:           /sys/class/power_supply/<supply_name>/health
0407 Date:           May 2007
0408 Contact:        linux-pm@vger.kernel.org
0409 Description:
0410                 Reports the health of the battery or battery side of charger
0411                 functionality.
0412 
0413                 Access: Read
0414 
0415                 Valid values:
0416                               "Unknown", "Good", "Overheat", "Dead",
0417                               "Over voltage", "Unspecified failure", "Cold",
0418                               "Watchdog timer expire", "Safety timer expire",
0419                               "Over current", "Calibration required", "Warm",
0420                               "Cool", "Hot", "No battery"
0421 
0422 What:           /sys/class/power_supply/<supply_name>/precharge_current
0423 Date:           June 2017
0424 Contact:        linux-pm@vger.kernel.org
0425 Description:
0426                 Reports the charging current applied during pre-charging phase
0427                 for a battery charge cycle.
0428 
0429                 Access: Read
0430 
0431                 Valid values: Represented in microamps
0432 
0433 What:           /sys/class/power_supply/<supply_name>/present
0434 Date:           May 2007
0435 Contact:        linux-pm@vger.kernel.org
0436 Description:
0437                 Reports whether a battery is present or not in the system.
0438 
0439                 Access: Read
0440 
0441                 Valid values:
0442 
0443                         == =======
0444                         0: Absent
0445                         1: Present
0446                         == =======
0447 
0448 What:           /sys/class/power_supply/<supply_name>/status
0449 Date:           May 2007
0450 Contact:        linux-pm@vger.kernel.org
0451 Description:
0452                 Represents the charging status of the battery. Normally this
0453                 is read-only reporting although for some supplies this can be
0454                 used to enable/disable charging to the battery.
0455 
0456                 Access: Read, Write
0457 
0458                 Valid values:
0459                               "Unknown", "Charging", "Discharging",
0460                               "Not charging", "Full"
0461 
0462 What:           /sys/class/power_supply/<supply_name>/charge_behaviour
0463 Date:           November 2021
0464 Contact:        linux-pm@vger.kernel.org
0465 Description:
0466                 Represents the charging behaviour.
0467 
0468                 Access: Read, Write
0469 
0470                 Valid values:
0471                         ================ ====================================
0472                         auto:            Charge normally, respect thresholds
0473                         inhibit-charge:  Do not charge while AC is attached
0474                         force-discharge: Force discharge while AC is attached
0475                         ================ ====================================
0476 
0477 What:           /sys/class/power_supply/<supply_name>/technology
0478 Date:           May 2007
0479 Contact:        linux-pm@vger.kernel.org
0480 Description:
0481                 Describes the battery technology supported by the supply.
0482 
0483                 Access: Read
0484 
0485                 Valid values:
0486                               "Unknown", "NiMH", "Li-ion", "Li-poly", "LiFe",
0487                               "NiCd", "LiMn"
0488 
0489 
0490 What:           /sys/class/power_supply/<supply_name>/voltage_avg,
0491 Date:           May 2007
0492 Contact:        linux-pm@vger.kernel.org
0493 Description:
0494                 Reports an average VBAT voltage reading for the battery, over a
0495                 fixed period. Normally devices will provide a fixed interval in
0496                 which they average readings to smooth out the reported value.
0497 
0498                 Access: Read
0499 
0500                 Valid values: Represented in microvolts
0501 
0502 What:           /sys/class/power_supply/<supply_name>/cycle_count
0503 Date:           January 2010
0504 Contact:        linux-pm@vger.kernel.org
0505 Description:
0506                 Reports the number of full charge + discharge cycles the
0507                 battery has undergone.
0508 
0509                 Access: Read
0510 
0511                 Valid values:
0512                         Integer > 0: representing full cycles
0513                         Integer = 0: cycle_count info is not available
0514 
0515 **USB Properties**
0516 
0517 What:           /sys/class/power_supply/<supply_name>/input_current_limit
0518 Date:           July 2014
0519 Contact:        linux-pm@vger.kernel.org
0520 Description:
0521                 Details the incoming IBUS current limit currently set in the
0522                 supply. Normally this is configured based on the type of
0523                 connection made (e.g. A configured SDP should output a maximum
0524                 of 500mA so the input current limit is set to the same value).
0525                 Use preferably input_power_limit, and for problems that can be
0526                 solved using power limit use input_current_limit.
0527 
0528                 Access: Read, Write
0529 
0530                 Valid values: Represented in microamps
0531 
0532 What:           /sys/class/power_supply/<supply_name>/input_voltage_limit
0533 Date:           May 2019
0534 Contact:        linux-pm@vger.kernel.org
0535 Description:
0536                 This entry configures the incoming VBUS voltage limit currently
0537                 set in the supply. Normally this is configured based on
0538                 system-level knowledge or user input (e.g. This is part of the
0539                 Pixel C's thermal management strategy to effectively limit the
0540                 input power to 5V when the screen is on to meet Google's skin
0541                 temperature targets). Note that this feature should not be
0542                 used for safety critical things.
0543                 Use preferably input_power_limit, and for problems that can be
0544                 solved using power limit use input_voltage_limit.
0545 
0546                 Access: Read, Write
0547 
0548                 Valid values: Represented in microvolts
0549 
0550 What:           /sys/class/power_supply/<supply_name>/input_power_limit
0551 Date:           May 2019
0552 Contact:        linux-pm@vger.kernel.org
0553 Description:
0554                 This entry configures the incoming power limit currently set
0555                 in the supply. Normally this is configured based on
0556                 system-level knowledge or user input. Use preferably this
0557                 feature to limit the incoming power and use current/voltage
0558                 limit only for problems that can be solved using power limit.
0559 
0560                 Access: Read, Write
0561 
0562                 Valid values: Represented in microwatts
0563 
0564 What:           /sys/class/power_supply/<supply_name>/online,
0565 Date:           May 2007
0566 Contact:        linux-pm@vger.kernel.org
0567 Description:
0568                 Indicates if VBUS is present for the supply. When the supply is
0569                 online, and the supply allows it, then it's possible to switch
0570                 between online states (e.g. Fixed -> Programmable for a PD_PPS
0571                 USB supply so voltage and current can be controlled).
0572 
0573                 Access: Read, Write
0574 
0575                 Valid values:
0576 
0577                         == ==================================================
0578                         0: Offline
0579                         1: Online Fixed - Fixed Voltage Supply
0580                         2: Online Programmable - Programmable Voltage Supply
0581                         == ==================================================
0582 
0583 What:           /sys/class/power_supply/<supply_name>/usb_type
0584 Date:           March 2018
0585 Contact:        linux-pm@vger.kernel.org
0586 Description:
0587                 Reports what type of USB connection is currently active for
0588                 the supply, for example it can show if USB-PD capable source
0589                 is attached.
0590 
0591                 Access: Read-Only
0592 
0593                 Valid values:
0594                               "Unknown", "SDP", "DCP", "CDP", "ACA", "C", "PD",
0595                               "PD_DRP", "PD_PPS", "BrickID"
0596 
0597 **Device Specific Properties**
0598 
0599 What:           /sys/class/power/ds2760-battery.*/charge_now
0600 Date:           May 2010
0601 KernelVersion:  2.6.35
0602 Contact:        Daniel Mack <daniel@caiaq.de>
0603 Description:
0604                 This file is writeable and can be used to set the current
0605                 coloumb counter value inside the battery monitor chip. This
0606                 is needed for unavoidable corrections of aging batteries.
0607                 A userspace daemon can monitor the battery charging logic
0608                 and once the counter drops out of considerable bounds, take
0609                 appropriate action.
0610 
0611 What:           /sys/class/power/ds2760-battery.*/charge_full
0612 Date:           May 2010
0613 KernelVersion:  2.6.35
0614 Contact:        Daniel Mack <daniel@caiaq.de>
0615 Description:
0616                 This file is writeable and can be used to set the assumed
0617                 battery 'full level'. As batteries age, this value has to be
0618                 amended over time.
0619 
0620 What:           /sys/class/power_supply/max14577-charger/device/fast_charge_timer
0621 Date:           October 2014
0622 KernelVersion:  3.18.0
0623 Contact:        Krzysztof Kozlowski <krzk@kernel.org>
0624 Description:
0625                 This entry shows and sets the maximum time the max14577
0626                 charger operates in fast-charge mode. When the timer expires
0627                 the device will terminate fast-charge mode (charging current
0628                 will drop to 0 A) and will trigger interrupt.
0629 
0630                 Valid values:
0631 
0632                 - 5, 6 or 7 (hours),
0633                 - 0: disabled.
0634 
0635 What:           /sys/class/power_supply/max77693-charger/device/fast_charge_timer
0636 Date:           January 2015
0637 KernelVersion:  3.19.0
0638 Contact:        Krzysztof Kozlowski <krzk@kernel.org>
0639 Description:
0640                 This entry shows and sets the maximum time the max77693
0641                 charger operates in fast-charge mode. When the timer expires
0642                 the device will terminate fast-charge mode (charging current
0643                 will drop to 0 A) and will trigger interrupt.
0644 
0645                 Valid values:
0646 
0647                 - 4 - 16 (hours), step by 2 (rounded down)
0648                 - 0: disabled.
0649 
0650 What:           /sys/class/power_supply/max77693-charger/device/top_off_threshold_current
0651 Date:           January 2015
0652 KernelVersion:  3.19.0
0653 Contact:        Krzysztof Kozlowski <krzk@kernel.org>
0654 Description:
0655                 This entry shows and sets the charging current threshold for
0656                 entering top-off charging mode. When charging current in fast
0657                 charge mode drops below this value, the charger will trigger
0658                 interrupt and start top-off charging mode.
0659 
0660                 Valid values:
0661 
0662                 - 100000 - 200000 (microamps), step by 25000 (rounded down)
0663                 - 200000 - 350000 (microamps), step by 50000 (rounded down)
0664                 - 0: disabled.
0665 
0666 What:           /sys/class/power_supply/max77693-charger/device/top_off_timer
0667 Date:           January 2015
0668 KernelVersion:  3.19.0
0669 Contact:        Krzysztof Kozlowski <krzk@kernel.org>
0670 Description:
0671                 This entry shows and sets the maximum time the max77693
0672                 charger operates in top-off charge mode. When the timer expires
0673                 the device will terminate top-off charge mode (charging current
0674                 will drop to 0 A) and will trigger interrupt.
0675 
0676                 Valid values:
0677 
0678                 - 0 - 70 (minutes), step by 10 (rounded down)
0679 
0680 What:           /sys/class/power_supply/bq24257-charger/ovp_voltage
0681 Date:           October 2015
0682 KernelVersion:  4.4.0
0683 Contact:        Andreas Dannenberg <dannenberg@ti.com>
0684 Description:
0685                 This entry configures the overvoltage protection feature of bq24257-
0686                 type charger devices. This feature protects the device and other
0687                 components against damage from overvoltage on the input supply. See
0688                 device datasheet for details.
0689 
0690                 Valid values:
0691 
0692                 - 6000000, 6500000, 7000000, 8000000, 9000000, 9500000, 10000000,
0693                   10500000 (all uV)
0694 
0695 What:           /sys/class/power_supply/bq24257-charger/in_dpm_voltage
0696 Date:           October 2015
0697 KernelVersion:  4.4.0
0698 Contact:        Andreas Dannenberg <dannenberg@ti.com>
0699 Description:
0700                 This entry configures the input dynamic power path management voltage of
0701                 bq24257-type charger devices. Once the supply drops to the configured
0702                 voltage, the input current limit is reduced down to prevent the further
0703                 drop of the supply. When the IC enters this mode, the charge current is
0704                 lower than the set value. See device datasheet for details.
0705 
0706                 Valid values:
0707 
0708                 - 4200000, 4280000, 4360000, 4440000, 4520000, 4600000, 4680000,
0709                   4760000 (all uV)
0710 
0711 What:           /sys/class/power_supply/bq24257-charger/high_impedance_enable
0712 Date:           October 2015
0713 KernelVersion:  4.4.0
0714 Contact:        Andreas Dannenberg <dannenberg@ti.com>
0715 Description:
0716                 This entry allows enabling the high-impedance mode of bq24257-type
0717                 charger devices. If enabled, it places the charger IC into low power
0718                 standby mode with the switch mode controller disabled. When disabled,
0719                 the charger operates normally. See device datasheet for details.
0720 
0721                 Valid values:
0722 
0723                 - 1: enabled
0724                 - 0: disabled
0725 
0726 What:           /sys/class/power_supply/bq24257-charger/sysoff_enable
0727 Date:           October 2015
0728 KernelVersion:  4.4.0
0729 Contact:        Andreas Dannenberg <dannenberg@ti.com>
0730 Description:
0731                 This entry allows enabling the sysoff mode of bq24257-type charger
0732                 devices. If enabled and the input is removed, the internal battery FET
0733                 is turned off in order to reduce the leakage from the BAT pin to less
0734                 than 1uA. Note that on some devices/systems this disconnects the battery
0735                 from the system. See device datasheet for details.
0736 
0737                 Valid values:
0738 
0739                 - 1: enabled
0740                 - 0: disabled
0741 
0742 What:           /sys/class/power_supply/<supply_name>/manufacture_year
0743 Date:           January 2020
0744 Contact:        linux-pm@vger.kernel.org
0745 Description:
0746                 Reports the year (following Gregorian calendar) when the device has been
0747                 manufactured.
0748 
0749                 Access: Read
0750 
0751                 Valid values: Reported as integer
0752 
0753 What:           /sys/class/power_supply/<supply_name>/manufacture_month
0754 Date:           January 2020
0755 Contact:        linux-pm@vger.kernel.org
0756 Description:
0757                 Reports the month when the device has been manufactured.
0758 
0759                 Access: Read
0760 
0761                 Valid values: 1-12
0762 
0763 What:           /sys/class/power_supply/<supply_name>/manufacture_day
0764 Date:           January 2020
0765 Contact:        linux-pm@vger.kernel.org
0766 Description:
0767                 Reports the day of month when the device has been manufactured.
0768 
0769                 Access: Read
0770                 Valid values: 1-31