1

我正在三星galaxy mini 2上开发一个应用程序,我担心logcat显示来自alarmManagerService的大量错误,每秒几乎4个错误......重新启动手机时,没有任何变化......这是我的 logCat 的一小部分:

08-17 12:30:27.189: E/AlarmManagerService(194): android_server_AlarmManagerService_set to type=3, 65.163000000**
08-17 12:30:27.189: D/PowerManagerService(194): acquireWakeLock flags=0x1 tag=AlarmManager
08-17 12:30:27.189: D/PowerManagerService(194): releaseWakeLock flags=0x1 tag=AlarmManager
08-17 12:30:27.589: E/AlarmManagerService(194): android_server_AlarmManagerService_set to type=3, 65.563000000
08-17 12:30:27.589: D/PowerManagerService(194): acquireWakeLock flags=0x1 tag=AlarmManager
08-17 12:30:27.589: D/PowerManagerService(194): releaseWakeLock flags=0x1 tag=AlarmManager
08-17 12:30:27.979: E/AlarmManagerService(194): android_server_AlarmManagerService_set to type=3, 65.963000000
08-17 12:30:27.979: D/PowerManagerService(194): acquireWakeLock flags=0x1 tag=AlarmManager
08-17 12:30:27.979: D/PowerManagerService(194): releaseWakeLock flags=0x1 tag=AlarmManager
08-17 12:30:28.389: E/AlarmManagerService(194): android_server_AlarmManagerService_set to type=3, 66.363000000
08-17 12:30:28.389: D/PowerManagerService(194): acquireWakeLock flags=0x1 tag=AlarmManager
08-17 12:30:28.389: D/PowerManagerService(194): releaseWakeLock flags=0x1 tag=AlarmManager
08-17 12:30:28.789: E/AlarmManagerService(194): android_server_AlarmManagerService_set to type=3, 66.763000000
08-17 12:30:28.789: D/PowerManagerService(194): acquireWakeLock flags=0x1 tag=AlarmManager
08-17 12:30:28.789: D/PowerManagerService(194): releaseWakeLock flags=0x1 tag=AlarmManager
08-17 12:30:29.189: E/AlarmManagerService(194): android_server_AlarmManagerService_set to type=3, 67.163000000
08-17 12:30:29.189: D/PowerManagerService(194): acquireWakeLock flags=0x1 tag=AlarmManager
08-17 12:30:29.189: D/PowerManagerService(194): releaseWakeLock flags=0x1 tag=AlarmManager
08-17 12:30:29.589: E/AlarmManagerService(194): android_server_AlarmManagerService_set to type=3, 67.563000000
08-17 12:30:29.589: D/PowerManagerService(194): acquireWakeLock flags=0x1 tag=AlarmManager
08-17 12:30:29.589: D/PowerManagerService(194): releaseWakeLock flags=0x1 tag=AlarmManager
08-17 12:30:29.989: E/AlarmManagerService(194): android_server_AlarmManagerService_set to type=3, 67.963000000

我真的不知道这是一个问题还是一切正常,但我担心电池使用或性能......即使手机处于睡眠模式,android似乎也不会停止工作......其他人有类似的问题吗?

4

2 回答 2

0

它可能与您的应用程序无关。如果您在 上进行搜索android_server_AlarmManagerService_set,您会看到各种三星设备都执行此操作。

作为测试,卸载您的应用并重新启动。如果您仍然收到android_server_AlarmManagerService_set消息,则保证与您的应用程序无关。

于 2013-08-17T12:13:22.963 回答
0

就我的观察而言,这是 Android 2.3.6 中的一个错误,当我的默认警报未能响起时,我碰巧检查了日志并发现了相同的错误消息。进行出厂重置和硬重置后,系统提供的警报似乎可以工作几周/几个月。在那之后,这个错误慢慢地暴露了自己。

我将闹钟设置为早上 6.30,但它不起作用,比如一周 3 天!在检查目录日志时,很明显整个警报逻辑的某个地方有问题。

于 2014-05-14T04:01:18.833 回答