[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Battery Life



On Mon, Jun 02, 2008 at 09:31:34PM -0700, The dob wrote:
> I'm running pygame on Maemo (linux on a mobile device). In my main
> game loop I am using pygame.event.wait() and sleeping all other
> running threads. To me this means that until there is an event, the
> process should not consume very much processor time. Unfortunately,
> the battery on the device still drains very quickly (about 4 hours
> when idle, as compared to 2 days while other applications are idle).
> 
> Running 'top' does not indicate that the idle process is consuming
> very much processing power either.

What does strace show your process doing?

Marius Gedminas
-- 
It's not illegal to disagree with my opinions (*).
[...]
(*) Although it obviously _should_ be. Mwhaahahahahaaa... You unbelievers
will all be shot when the revolution comes!
		-- Linus Torvalds

Attachment: signature.asc
Description: Digital signature