问题
I suspect there are applications on my Android system that use the AlarmManager way too agressively (eg. exact repeating, instead of inexact repeating, etc.). Is there a way to inspect all alarms set in the AlarmManager on the system?
回答1:
I think you get alarms in the output of adb shell dumpsys
, though the information may be a bit difficult to decipher.
来源:https://stackoverflow.com/questions/5003329/how-to-inspect-all-alarms-defined-in-the-alarmmanager-on-the-system