共用方式為


Battery.EnergySaverStatus Property

Definition

Gets the current energy saver status of the device.

public:
 static property Microsoft::Maui::Devices::EnergySaverStatus EnergySaverStatus { Microsoft::Maui::Devices::EnergySaverStatus get(); };
public static Microsoft.Maui.Devices.EnergySaverStatus EnergySaverStatus { get; }
static member EnergySaverStatus : Microsoft.Maui.Devices.EnergySaverStatus
Public Shared ReadOnly Property EnergySaverStatus As EnergySaverStatus

Property Value

The current status of energy saver mode.

Applies to