PowerManager.IsPowerSaveMode 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.
Returns true if the device is currently in power save mode.
public virtual bool IsPowerSaveMode { [Android.Runtime.Register("isPowerSaveMode", "()Z", "GetIsPowerSaveModeHandler")] get; }
[<get: Android.Runtime.Register("isPowerSaveMode", "()Z", "GetIsPowerSaveModeHandler")>]
member this.IsPowerSaveMode : bool
Property Value
Returns true if currently in low power mode, else false.
- Attributes
Remarks
Returns true if the device is currently in power save mode. When in this mode, applications should reduce their functionality in order to conserve battery as much as possible. You can monitor for changes to this state with #ACTION_POWER_SAVE_MODE_CHANGED
.
Java documentation for android.os.PowerManager.isPowerSaveMode()
.
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.