Power

Power API: Power source details.

power.sources

Known sources of power.

Description

Power details the host computer's power sources and each of those sources' state. If the computer only supports AC/mains, there may not be any power sources.

Back to Power.