Stuck partial wake locks
Stay organized with collections
Save and categorize content based on your preferences.
Partial wake locks are a mechanism in the PowerManager API that lets
developers keep the CPU running after a device's display turns off. A partial
wake lock becomes stuck if it is held for a long time while your app is
running in the background (no part of your app is visible to the user).
Detect the problem
Android vitals
Android vitals can help improve your app's performance by alerting you in the
Play Console when your app exhibits stuck partial wake locks. Android
vitals reports a partial wake lock as stuck when it lasts at least one hour in
the background within a 24-hour period.
The number of battery sessions displayed is an aggregate for all measured users
of the app. For information on how Google Play collects Android vitals data, see
the Play Console documentation.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-11-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-11-13 UTC."],[],[]]