LocationPowerSaveModeLog
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
The getLocationPowerSaveMode() API defines how location services behave when the device's battery saver is enabled.
Location providers can be unaffected, disabled based on screen state and provider type (GPS or all), restricted to foreground apps, or throttled when the screen is off.
The LOCATION_POWER_SAVE_MODE_LOG_* enums specify different power saving configurations for location services, ranging from no change to disabling all providers when the screen is off.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-27 UTC."],[],[]]