[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Maps FleetEngine V1 Client - Class LocationPowerSaveMode (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/maps-fleetengine/latest/V1.LocationPowerSaveMode)\n- [0.4.0](/php/docs/reference/maps-fleetengine/0.4.0/V1.LocationPowerSaveMode)\n- [0.3.1](/php/docs/reference/maps-fleetengine/0.3.1/V1.LocationPowerSaveMode)\n- [0.2.0](/php/docs/reference/maps-fleetengine/0.2.0/V1.LocationPowerSaveMode)\n- [0.1.6](/php/docs/reference/maps-fleetengine/0.1.6/V1.LocationPowerSaveMode) \nReference documentation and code samples for the Google Maps FleetEngine V1 Client class LocationPowerSaveMode.\n\nHow location features are configured to behave on the mobile device when the\ndevices \"battery saver\" feature is on.\n\n(\u003chttps://developer.android.com/reference/android/os/PowerManager#getLocationPowerSaveMode(\u003e))\n\nProtobuf type `maps.fleetengine.v1.LocationPowerSaveMode`\n\nNamespace\n---------\n\nGoogle \\\\ Maps \\\\ FleetEngine \\\\ V1\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### UNKNOWN_LOCATION_POWER_SAVE_MODE\n\n Value: 0\n\nUndefined LocationPowerSaveMode\n\nGenerated from protobuf enum `UNKNOWN_LOCATION_POWER_SAVE_MODE = 0;`\n\n### LOCATION_MODE_NO_CHANGE\n\n Value: 1\n\nEither the location providers shouldn't be affected by battery saver, or\nbattery saver is off.\n\nGenerated from protobuf enum `LOCATION_MODE_NO_CHANGE = 1;`\n\n### LOCATION_MODE_GPS_DISABLED_WHEN_SCREEN_OFF\n\n Value: 2\n\nThe GPS based location provider should be disabled when battery saver is on\nand the device is non-interactive.\n\nGenerated from protobuf enum `LOCATION_MODE_GPS_DISABLED_WHEN_SCREEN_OFF = 2;`\n\n### LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFF\n\n Value: 3\n\nAll location providers should be disabled when battery saver is on and the\ndevice is non-interactive.\n\nGenerated from protobuf enum `LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFF = 3;`\n\n### LOCATION_MODE_FOREGROUND_ONLY\n\n Value: 4\n\nAll the location providers will be kept available, but location fixes\nshould only be provided to foreground apps.\n\nGenerated from protobuf enum `LOCATION_MODE_FOREGROUND_ONLY = 4;`\n\n### LOCATION_MODE_THROTTLE_REQUESTS_WHEN_SCREEN_OFF\n\n Value: 5\n\nLocation will not be turned off, but LocationManager will throttle all\nrequests to providers when the device is non-interactive.\n\nGenerated from protobuf enum `LOCATION_MODE_THROTTLE_REQUESTS_WHEN_SCREEN_OFF = 5;`"]]