On Saturday, August 07, 2010, david@lang.hm wrote:... Unfortunately, the criteria for "not being needed" are not really straightforward and one of the wakelocks' roles is to work around this issue. There is a fundamental obstacle to that, though. Namely, the Android developers say that the idle-based approach doesn't lead to sufficient energy savings due to periodic timers and "polling applications". Technically that boils down to the interrupt sources that remain active in the idle-based case and that are shut down during suspend. If you found a way to deactivate all of them from the idle context in a non-racy fashion, that would probably satisfy the Android's needs too. Thanks, Rafael --
