Share via


WakeOnApproachOptions.DisableWhenBatterySaverOn Property

Definition

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.

Applies to

See also