How to inspect all alarms defined in the AlarmMana

2019-03-22 02:56发布

问题:

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.