Skip to main content

Overview

Opens the system Power Save Mode (Battery Saver) settings where users can enable/disable Battery Saver mode and configure automatic activation.

Returns

success
boolean
Promise resolving to true if settings were successfully opened, false if the settings couldn’t be opened.

Platform Behavior

When to Use

Use this method to guide users to disable Battery Saver when your app requires full performance or background capabilities: āœ… Good use cases:
  • User is experiencing limited functionality
  • Background sync is failing due to Power Save restrictions
  • App requires full CPU performance
  • Real-time features are degraded

Example Usage

Basic Usage

Guide User When Battery Saver Detected

Settings Screen

Startup Check with Guidance

Troubleshooting Flow

With Error Handling

Fallback Behavior

The method tries multiple intents with fallbacks:
  1. First attempt: ACTION_BATTERY_SAVER_SETTINGS (API 22+)
    • Opens Battery Saver settings directly
  2. Second attempt: ACTION_POWER_USAGE_SUMMARY
    • Opens general battery usage page
  3. Third attempt: ACTION_SETTINGS
    • Opens main settings page
If all fail, returns false.

User Instructions

When guiding users, provide clear instructions: