SupunArunoda / nethack-android

Automatically exported from code.google.com/p/nethack-android
0 stars 0 forks source link

High power consumption when idle? #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run game
2. Suspend system

What is the expected output? What do you see instead?
High battery usage

What version of the product are you using? On what operating system?
1.0, android 1.6

Please provide any additional information below.

The application seems to consume an abnormal amount of CPU time when idle.

The new battery monitoring application in android 1.6 showed Nethack
consuming more battery than display, and battery life was reduced to about
12 hours.

Original issue reported on code.google.com by brikeener on 19 Oct 2009 at 2:07

GoogleCodeExporter commented 8 years ago
Thanks for the info. I haven't checked myself, but I'm not surprised that 
something
like this is going on. There are a couple of threads running and I haven't put 
much
effort into making them efficient for CPU and battery efficiency. Will try to 
address.

Original comment by farnst...@gmail.com on 19 Oct 2009 at 3:52

GoogleCodeExporter commented 8 years ago
Not a problem.

Love having a roguelike finally!

I just need to remember to close when finished playing.

Original comment by brikeener on 19 Oct 2009 at 4:19

GoogleCodeExporter commented 8 years ago
I think this should be good now in the new version 1.1.1. It puts the threads to
sleep on pause, and kills the whole application if NetHack quits (because it 
wouldn't
be able to properly reinitialize the native code library otherwise, couldn't 
find a
better solution for now).

Original comment by farnst...@gmail.com on 21 Oct 2009 at 9:55