Active Topics

 


Reply
Thread Tools
Posts: 66 | Thanked: 145 times | Joined on Jan 2008
#161
I find this very useful but I think it's draining my battery. Consistently since I've
installed this my tablet dies overnight. Watching in top, I can see sliderotate
continuously using approx 0.1%-0.9% CPU which can make a big impact on battery life.
Anyone else seeing this?
 
emjayes's Avatar
Posts: 121 | Thanked: 163 times | Joined on Feb 2008 @ Oulu, Finland
#162
In version 0.0.22 there is the option to use sounds when opening the slide.
This is very poorly implemented and causes the high cpu usage.
I am now testing the next version, which hopefully solves this problem.
Note: it does not matter whether the sounds are turned off, since the
pygame.mixer is still initiated.

The version I am now testing, will unload the mixer if sounds are not enabled, which sound stop the battery drain.

I will make the new version available today so you can test it.

For the impatient: version 0.0.21 should not have this issue.
 

The Following User Says Thank You to emjayes For This Useful Post:
emjayes's Avatar
Posts: 121 | Thanked: 163 times | Joined on Feb 2008 @ Oulu, Finland
#163
New version: 0.0.23diablo.

-If sounds are not used, the mixer is uninitialized, battery drain should stop.
-If sounds are used, well, until I figure a better way to handle it, the battery will drain faster. Your choice.

-fixed the typo in sliderotatesettings.
"Use portrait mode when slide is opened", now reads "Use landscape mode...." like it should.
 

The Following 3 Users Say Thank You to emjayes For This Useful Post:
emjayes's Avatar
Posts: 121 | Thanked: 163 times | Joined on Feb 2008 @ Oulu, Finland
#164
Question: Does anyone remember the dbus-send magic to bring up the menu that you normally get when pressing the power button?

I would like to make the powerbutton behave like normal if the checkbox "Use powerbutton to rotate" is unchecked.

I used to know that, but seem to have forgotten it and Google was not helpful enough this time.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#165
Arg, using dbus-monitor --system only returns me the value for the Hal device which I am sure you do not want.

I have a little leaked file from Nokia that should help me in this mission, brb.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
emjayes's Avatar
Posts: 121 | Thanked: 163 times | Joined on Feb 2008 @ Oulu, Finland
#166
Originally Posted by qwerty12 View Post
I have a little leaked file from Nokia that should help me in this mission, brb.
Perhaps I should have searched the intranet at work then
 

The Following User Says Thank You to emjayes For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#167
Arrgh, my dbus "skills" really suckzors.

I have been able to find the following: com.nokia.system_ui.request.powerkeymenu_open

Don't know if that helps or if I am barking up the wrong tree. I'll keep trying but hopefully you will figure it out
 

The Following User Says Thank You to qwerty12 For This Useful Post:
emjayes's Avatar
Posts: 121 | Thanked: 163 times | Joined on Feb 2008 @ Oulu, Finland
#168
Seems like this could be it. I must fiddle with it tomorrow to see if it works.
 
Posts: 11 | Thanked: 5 times | Joined on Feb 2008
#169
I installed .23diablo, disabled sounds and things are looking good. Thanks for the effort on this. Sliderotate really helps me get more from my n810.

Last edited by ekarjala; 2008-08-01 at 13:15.
 
Posts: 17 | Thanked: 2 times | Joined on Jul 2008
#170
Whenever I rotate, the screen just kind of moves to the side. I can see new icons from the taskbar appear next to the old ones, but the screen itself doesn't actually flip. I'm trying to reinstall xrandr-kernel right now.

That fixed it. Awesome!

Last edited by The Biles; 2008-08-01 at 21:30.
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:56.