The power management system on Android controls when apps can run in the background and when they can't. Some apps, like music players, need to be able to run in the background even when the screen is off so they can continue playing music. Other apps, like GPS apps, need to be able to run in the background so they can continue tracking your location. And still other apps, like chat apps, need to be able to run in the background so they can continue receiving messages. How do native methods on Android interact with the power management system? Do they have to request permission to run in the background? Can they be configured to run in the background only when the screen is on? When the screen is off, do they have to stop running?