# React Native Background Guardian ## Docs - [acquireWakeLock](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/api/acquire-wake-lock.md): Acquire a partial wake lock to keep the CPU running - [disableScreenWakeLock](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/api/disable-screen-wake-lock.md): Allow the display to turn off normally - [enableScreenWakeLock](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/api/enable-screen-wake-lock.md): Keep the display on while the app is in the foreground - [getDeviceManufacturer](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/api/get-device-manufacturer.md): Get the device manufacturer name - [isDeviceIdleMode](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/api/is-device-idle-mode.md): Check if the device is in idle (Doze) mode - [isIgnoringBatteryOptimizations](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/api/is-ignoring-battery-optimizations.md): Check if the app is exempt from battery optimizations - [isPowerSaveMode](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/api/is-power-save-mode.md): Check if the device is in Power Save (Battery Saver) mode - [isWakeLockHeld](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/api/is-wake-lock-held.md): Check if a wake lock is currently held - [openBatteryOptimizationSettings](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/api/open-battery-optimization-settings.md): Open the system battery optimization settings list - [openOEMSettings](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/api/open-oem-settings.md): Open manufacturer-specific battery settings - [openPowerSaveModeSettings](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/api/open-power-save-mode-settings.md): Open the system Power Save Mode (Battery Saver) settings - [API Overview](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/api/overview.md): Complete API reference for React Native Background Guardian - [releaseWakeLock](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/api/release-wake-lock.md): Release a previously acquired wake lock - [requestBatteryOptimizationExemption](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/api/request-battery-optimization-exemption.md): Request battery optimization exemption from the user - [Battery optimization](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/concepts/battery-optimization.md): Learn when and how to request battery optimization exemptions while complying with Google Play policies - [Doze and App Standby](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/concepts/doze-and-app-standby.md): Understanding Android's power-saving features and how they affect background execution - [OEM restrictions](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/concepts/oem-restrictions.md): Navigate manufacturer-specific battery optimization settings that standard Android exemptions don't cover - [Wake locks](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/concepts/wake-locks.md): Keep the CPU running during background tasks using partial and screen wake locks with proper reference counting - [Platform differences](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/guides/platform-differences.md): How React Native Background Guardian APIs behave on Android vs iOS - [Testing and debugging](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/guides/testing-and-debugging.md): How to test Doze mode, debug wake locks, and verify battery optimization behavior - [Troubleshooting](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/guides/troubleshooting.md): Common issues and solutions for React Native Background Guardian - [Usage examples](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/guides/usage-examples.md): Real-world implementation patterns for React Native Background Guardian - [Installation](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/installation.md): Install React Native Background Guardian in your React Native project with npm, yarn, or pnpm. - [Introduction](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/introduction.md): A cross-platform React Native library that prevents Android from killing background processes through Wake Locks, battery optimization exemptions, and OEM-specific protections. - [Quickstart](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/quickstart.md): Get started with React Native Background Guardian in minutes with this step-by-step guide. - [FAQ](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/resources/faq.md): Frequently asked questions about React Native Background Guardian - [OEM compatibility](https://mintlify.wiki/ivangonzalezg/react-native-background-guardian/resources/oem-compatibility.md): Complete list of Android manufacturers with OEM-specific battery settings support