Megosztás a következőn keresztül:


Settings.ExtraBatterySaverModeEnabled Field

Definition

Activity Extra: Enable or disable Battery saver mode.

[Android.Runtime.Register("EXTRA_BATTERY_SAVER_MODE_ENABLED", ApiSince=23)]
public const string ExtraBatterySaverModeEnabled;
[<Android.Runtime.Register("EXTRA_BATTERY_SAVER_MODE_ENABLED", ApiSince=23)>]
val mutable ExtraBatterySaverModeEnabled : string

Field Value

Attributes

Remarks

Activity Extra: Enable or disable Battery saver mode.

This can be passed as an extra field to the #ACTION_VOICE_CONTROL_BATTERY_SAVER_MODE intent as a boolean to indicate if it should be enabled.

Java documentation for android.provider.Settings.EXTRA_BATTERY_SAVER_MODE_ENABLED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to