maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   [Anounce] [N9] Volume/Power Button Monitor (https://talk.maemo.org/showthread.php?t=82538)

wout.martens 2012-08-27 21:08

Re: [Anounce] [N9] Volume/Power Button Monitor
 
Is it just me but is this app consuming quite some battery during standby?

wolke 2012-08-27 21:37

Re: [Anounce] [N9] Volume/Power Button Monitor
 
Quote:

Originally Posted by wout.martens (Post 1256452)
Is it just me but is this app consuming quite some battery during standby?

i idle at about 6 mA with and without n9-button-monitor. ive tested it numerous times, under many different circumstances.

what numbers are you getting? if you dont have numbers, heres a good test:
1) install lpsmagic
2) uninstall n9-button-monitor completely {apt-get purge n9-button-monitor}
3) reboot
4) without doing anything else, lock the phone and observe the battery usage every 2 minutes over the course of 10 minutes
5) install n9-button-monitor
6) reboot
7) without doing anything else, lock the phone and observe the battery usage every 2 minutes over the course of 10 minutes

i get the same numbers for 4) and 7) in openmode on pr1.3, namely 6 mA average, with a high of 13 mA and a low of 4 mA.

wolke 2012-09-17 22:10

Re: [Anounce] [N9] Volume/Power Button Monitor
 
500 downloads!
2 very generous donations!

wolke 2012-10-19 21:54

Re: [Anounce] [N9] Volume/Power Button Monitor
 
600 downloads!
2 donations!

flopjoke 2012-10-19 22:17

Re: [Anounce] [N9] Volume/Power Button Monitor
 
The toggle flashlight with volume keys is probably the most used thingy on my N9 now. It doesn't require you to open an app all the time or stuff like that.. just blended perfectly with the OS - really amazing stuff.. thanks!

Question - will this app ever have a proper GUI for settings?

wolke 2012-10-19 23:48

Re: [Anounce] [N9] Volume/Power Button Monitor
 
very glad to hear it!

ahhahahha, i know the gui is ugly and unusable.
there is a good reason for this!

namely, that gui configs are silly and i hate them.
config files are so much nicer, because you can

perhaps i should just make an icon that opens up 'redak ~/.config/n9-button-monitor.ini'

p.s. the next thing i would do for this would be quiksnap, which i have working but not plugged in because life is hard. i also want to make the buttons not do volume/profile/etc in normal apps, but thats probably more or less impossible

flopjoke 2012-10-20 09:28

Re: [Anounce] [N9] Volume/Power Button Monitor
 
quiksnap? As in screenshot? Like press volume up and down together to take a screenshot .. or am I dreaming too much? :D

Leave the GUI as it is if you want it that way.. it's not biggie really. I used it to show some iPhone people that "oh look, N9 can even run Windows 98!" So it is cool sometimes :P

HtheB 2012-10-20 11:19

Re: [Anounce] [N9] Volume/Power Button Monitor
 
Well, I'm still waiting for the "volume button a la HtheB" :p (force to use "always media volume control)"

wolke 2012-10-20 18:14

Re: [Anounce] [N9] Volume/Power Button Monitor
 
lolololollololololololololololololol win98

htheb, youre aware of the two obstacles right?
1) we have to cancel ALL default actions in ALL apps. i dont know if this is possible without touching the apps themselves, which are mostly closed. {this needs to still let n9-button-monitor receive the events; disabling the buttons completely wont solve it, of course}
2) {and i HALF solved this one} we have to be able to programmatically control the volume. i can only do this with a mafw application running in the background, which i may be able to do as a daemon


solicit someone who has some experience with the mostly-closed-source guts of harmattan to do #1 for us, and i will deliver you your application. i personally cant fathom how to accomplish #1, and i spent awhile banging my head.

wolke 2012-10-20 18:17

Re: [Anounce] [N9] Volume/Power Button Monitor
 
quiksnap like take a picture with the camera from the lockscreen. like when the cat is being cute.

for screenshot, we could do long-click of volume down, but be aware that your phone would go into silent mode while we did...because of the problem#1 in the post above


All times are GMT. The time now is 19:15.

vBulletin® Version 3.8.8