CPC G06F 1/3206 (2013.01) [G06F 1/206 (2013.01); G06F 1/3296 (2013.01)] | 18 Claims |
1. A device, comprising:
memory;
one or more processor units;
a power supply unit (PSU);
a PSU control system stored in the memory and executable by the one or more processor units, the PSU control system encoding computer-executable instructions on the memory for executing on the one or more processor units a computer process, the computer process comprising:
determining an initial PSU power level at a startup of the device;
limiting an output power of a charger using a charger current limit input to the charger and determined based at least in part on the initial PSU power level at the startup of the device;
receiving internal temperatures of the PSU over a duration of time;
determining multiple exponential weighted moving average (EWMAs) of the internal temperature of the PSU for the duration of time;
comparing the EWMAs with temperature thresholds associated with the duration of time; and
based at least in part on determining that EWMA exceeds the temperature threshold associated with the duration of time, limiting the output power of a charger using the charger current limit input to the charger.
|