WakeOnApproachOptions.DisableWhenBatterySaverOn Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets whether wake behavior is enabled when battery saver is active.
public:
property bool DisableWhenBatterySaverOn { bool get(); void set(bool value); };
bool DisableWhenBatterySaverOn();
void DisableWhenBatterySaverOn(bool value);
public bool DisableWhenBatterySaverOn { get; set; }
var boolean = wakeOnApproachOptions.disableWhenBatterySaverOn;
wakeOnApproachOptions.disableWhenBatterySaverOn = boolean;
Public Property DisableWhenBatterySaverOn As Boolean
Property Value
Boolean
bool
True, if wake behavior is enabled when battery saver is active. Otherwise, false.
The default is false.