Undersized adapter for workload power demand
An example non-transitory machine-readable storage medium includes instructions executable by a processing resource of an electronic device. The instructions cause the electronic device to determine that a power adapter attached to a power port of a computing device has an adapter power rating that is less than a nominal power rating of the computing device, determine a workload power demand of the computing device, and select a power source for the computing device based on the workload power demand, wherein the power source is selected from the power adapter or a battery of the computing device.
1 . A method, comprising:
determining that a power adapter attached to a power port of a computing device has an adapter power rating that is less than a nominal power rating of the computing device;
determining a workload power demand of the computing device;
selecting a power source for the computing device based on the workload power demand, wherein the power source is selected from the power adapter or an internal battery of the computing device;
suppressing an adapter presence signal, wherein the adapter presence signal indicates that the power adapter is attached to the power port of the computing device; and
sending an alternative battery presence signal to cause the computing device to identify the power adapter as an alternative battery.
2 . The method of claim 1 , wherein when the internal battery is selected as the power source, disabling power input from the power adapter.
3 . The method of claim 1 , wherein the workload power demand includes a present workload power demand and an upcoming workload power demand.
4 . The method of claim 1 , wherein the workload power demand is based on a workload type, wherein the workload type includes a computing device state change, a process, or an application.
5 . The method of claim 1 , wherein selecting the power source for the computing device based on the workload power demand comprises determining whether the power adapter has an adapter power rating that meets the workload power demand.
6 . The method of claim 1 , further comprising in response to a determination that the power adapter has an adapter power rating that is less than the workload power demand, selecting the internal battery as the power source.
7 . The method of claim 1 , further comprising selecting both the power adapter and the internal battery as the power source during a transition period.
8 . A computing device comprising:
a power port;
a chipset;
a controller to:
determine that a power adapter is attached to the power port, wherein the computing device has a nominal power rating;
determine that the power adapter has an adapter power rating that is less than the nominal power rating;
suppress an adapter presence signal to the chipset, wherein the adapter presence signal indicates that the power adapter is attached to the power port of the computing device; and
send an alternative battery presence signal to the chipset to cause the computing device to identify the power adapter as an alternative battery.
9 . The computing device of claim 8 , wherein the alternative battery presence signal indicates to an operating system of the computing device that the power adapter is an alternative battery power source.
10 . The computing device of claim 8 , wherein the controller is to:
determine a workload power demand of the computing device; and
select the power adapter as a power source for the computing device when the workload power demand is less than a threshold.
11 . The computing device of claim 10 , wherein the workload power demand includes a present workload power demand and an upcoming workload power demand.
12 . The computing device of claim 10 , further comprising a graphics processing unit (GPU), wherein the GPU is to operate at a throttled performance level when the power adapter is selected as the power source.
13 . The computing device of claim 10 , wherein the controller is to:
monitor the workload power demand; and
disable the power adapter when the workload power demand is higher than the threshold.
14 . The computing device of claim 13 , further comprising an internal battery, wherein the controller is to select the internal battery as the power source when the workload power demand is higher than the threshold.
15 . A non-transitory computer-readable storage medium comprising instructions that when executed cause a controller of a computing device to:
determine that a power adapter attached to a power port of a computing device has an adapter power rating that is less than a nominal power rating of the computing device;
determine that the power adapter has an adapter power rating that meets a workload power demand; and
identify the power adapter as a battery to the computing device to power the computing device.
16 . The non-transitory computer-readable storage medium of claim 15 , wherein the instructions when executed further cause the controller to suppress a signal that identifies the power adapter as a power adapter.
17 . The non-transitory computer-readable storage medium of claim 15 , wherein the workload power demand includes a present workload power demand and an upcoming workload power demand.
18 . The non-transitory computer-readable storage medium of claim 15 , wherein the instructions when executed further cause the controller to: determine power source for the computing device based on the workload power demand comprises determining whether the power adapter has an adapter power rating that meets the workload power demand.
19 . The non-transitory computer-readable storage medium of claim 16 , wherein the instructions when executed further cause the controller to:
monitor a workload power demand of the computing device;
determine that the power adapter has an adapter power rating that is less than the workload power demand; and switch a power source of the computing device from the power adapter to an internal battery of the computing device.
20 . The computing device of claim 11 , wherein the upcoming workload comprises one or more of: a power up, a power down, or a low power mode.