Solution:
Root Cause: Aggressive App Hibernation & Safety Hub Auto-Revoke Policy
Android 15 features an aggressive App Hibernation system designed to revoke runtime permissions, clear temporary files, and stop background notifications for apps categorized as 'unused'. If an app's background service is flagged by Android's
PermissionPolicyService as inactive—or if system clock synchronization shifts—the OS automatically strips sensitive permissions (Location, Camera, Microphone, Contacts) in the background.
Step-by-Step Fix:
1Disable Auto-Reset Per App:
Go to Settings > Apps > See all apps > [Affected App].Scroll down to the bottom of the App info page.Toggle off Pause app activity if unused (or Manage app if unused).2Globally Review Auto-Revoked Permissions:
Navigate to Settings > Security & privacy > Privacy controls > Unused app permissions.Review the list of hibernated apps and remove critical tools from the auto-revoke queue.3Disable Auto-Revoke via ADB (Advanced / Global):
Connect your phone to a computer with ADB enabled and run: bash
adb shell device_config put privacy auto_revoke_unused_threshold_millis 0