Well, my device is a tx2500, running android-x86. As with most x86 devices, 
the battery life sucks. Not because they have small batteries, but because 
they suck a lot of juice when powered on. 

Looking into the reason my device kept waking up every several minutes, I 
found kernel/drivers/rtc/alarm.c to be setting the wakeup alarm during 
suspend. Further investigation revealed that these alarms are being set by 
the OS through the AlarmManager service.

I need to disable this automatic wakeup without disabling a desired user 
set alarm, or calendar notification. Now that I have a better understanding 
of the issue I should move this conversation to android-platform. However, 
if you have any tips or suggestions regarding alarms and how to debug or 
control them, I'd be happy to hear it. 

Thanks,
Kyle

On Thursday, April 4, 2013 9:17:08 AM UTC-4, Endy Silveira wrote:
>
> Sorry, but I didn't get your question... Could you be a little more clear?
>
> In which device that happens?
>
> Bests,
> Endy
>
> Em quarta-feira, 3 de abril de 2013 22h01min16s UTC-3, fuzzy7k escreveu:
>>
>> So disabling ANDROID_ALARM_ELAPSED_REALTIME_WAKEUP is not enough. After 
>> installing gapps the behaviour comes back because of a repeating RTC_WAKEUP 
>> alarm. 
>>
>> Looks like com.google.android.gsf broadcastIntent.
>>
>> Why is a google service creating an RTC alarm?
>>
>>
>> On Wednesday, April 3, 2013 9:32:55 AM UTC-4, fuzzy7k wrote:
>>>
>>> Is there an official way to disable the 
>>> ANDROID_ALARM_ELAPSED_REALTIME_WAKEUP? 
>>>
>>> It wakes the device up every several minutes, which is horrible on 
>>> devices that are not low power.
>>
>>

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to