<div dir="ltr"><div><div><div>Hi there<br><br></div>I'm using offlineimap on a mobile device (Nokia N900) in IDLE mode to sync with gmail.<br></div>Since I've started using it, I've noticed a significant drop in battery life.<br><br></div>By using powertop and top, I've deduced that offlineimap, even though is waiting for the server to send out new emails via IDLE protocol, it's still consuming CPU<br><div><div><div><div><br>Top causes for wakeups:</div>Wakeups-from-idle in 10 seconds: 1314<br><br>Top causes for wakeups:<br> 2.6% ( 500) <interrupt> : DMA<br> 1.6% ( 308) <interrupt> : gp timer<br> 1.0% ( 199) python2.7 : schedule_hrtimeout_range (hrtimer_wakeup)<br><br></div><div>I have no other python2.7 executable running, and when I stop offlineimap this line dissappears, so I am positive this wakeups are due to some sleep code inside offlineimap.<br><br></div><div>Is there anything that can be done about this? Thanks! (I'm not subscribed to the list, so please keep me in CC).<br></div><div><div><br>-- <br><div class="gmail_signature">Álvaro Gámez Machado<br></div>
</div></div></div></div></div>