Active Topics

 


Reply
Thread Tools
Posts: 79 | Thanked: 53 times | Joined on Jul 2010 @ Ho Chi Minh, Viet Nam
#111
Hi qwazix,

Do we have any news regarding the power consumption issues?
__________________
All about God, love and yoga www.kriyayoga.com
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#112
Originally Posted by qwazix View Post
foobar, that would be the perfect solution. I drifted away from that because I was unable to trigger a fake powerbutton press from within a qt application. I don't think I have any code from that early but the principle was simple. Instead of running text2screen (see timenow source) this script should be run. Unfortunately, whatever I tried, the lockscreen didn't come on.

I just put the code in a script (show_lockscreen.sh) and call
sudo path_to_the_show_lockscreen.sh
in your /opt/timenow/bin/shscript

It works, the lockscreen is shown, but the touchscreen is enabled
again, so you doesn't only see the screen, but can interact
with the slider too. And the backlight turns on.
 

The Following 5 Users Say Thank You to nicolai For This Useful Post:
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#113
Hm, I never thought of calling it within another script. I was calling it directly from within timenow and nothing happened.

Next version of timenow will just show the lockscreen then

Also, cantruchd, I will include a setting to change the polling frequency in the config file, and make the default @200ms to reduce power consumption a bit.
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jollacontactlaunchtimenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 

The Following 2 Users Say Thank You to qwazix For This Useful Post:
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#114
0.0.5 is on it's way to devel with hopefully significantly improved power consumption (interval @600ms), now it shows the lockscreen with all the relevant info.

Downside is that I can't control either the duration nor the brightness of the lockscreen.
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jollacontactlaunchtimenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 

The Following 4 Users Say Thank You to qwazix For This Useful Post:
Posts: 293 | Thanked: 163 times | Joined on Jan 2012 @ beijing-islamabad
#115
is it possible that we could have time-now lockscreen by touching or taping on the N900 screen rather than playing hide and seek with the proximity sensor ?Only if it possible cuz most of the time N900 is in my pockets so obviously lockscreen time will be shown automatically untill i get it out of pocket and put it somewhere with no bars on the proximity sensor .It will eat a lot of battery power i suppose . The other thing is everytime even after unlocking the screen ,due to slowness of the N900 time-now lockscreen is there with the main menu ,it takes its time to fade out .I hope you understand what i am trying to say .
Probably we can see the time on lockscreen by a gentle tap on the screen ( just like on N9 ), couldnt find any better handset to explain .Hopefully i was clear on all of this .TIA
Edit : i guess i have asked something related to hardware rather than software thing .My mistake .
Anyway i hope you add more things to lockscreen other than time .May be a better version with more things on screen and also with power saving mode ;p
i hope thats possible atleast !

Last edited by imo; 2012-09-06 at 20:08.
 

The Following User Says Thank You to imo For This Useful Post:
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#116
Timenow should not show while the phone is in your pocket. It shows when the proximity sensor is uncovered, not covered. Anyway try 0.0.6 and I believe some of your requests have already been covered.

0.0.6 also has a small further improvement to the power consumption.

I stumbled upon an undocumented feature (thanks to joergrw for the pointers and to MohammadAG for discovering it) so the daemon in the next version will be plain qt (no shell scripts), and hopefully it will be possible to set the timeout before the lock screen diasappears.

I tried listening to taps while locked (you'll find more info earlier in this thread) but I didn't manage to do it.
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jollacontactlaunchtimenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 

The Following 5 Users Say Thank You to qwazix For This Useful Post:
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#117
0.0.7 will be in devel in a while. I didn't manage to get rid of all the sh scripts (the undocumented feature isn't there, it was a false positive) but now it works more smoothly. It turns off when the proximity sensor is covered and the lock screen is shown, so that the time the backlight remains on while in the pocket is minimized even more.

Oh, and the timeout is configurable (though, don't put anything bigger than 15000, it probably won't work)
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jollacontactlaunchtimenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob

Last edited by qwazix; 2012-09-07 at 16:02.
 

The Following 4 Users Say Thank You to qwazix For This Useful Post:
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#118
I think I fixed the phone bug in 0.0.8

please test and report.
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jollacontactlaunchtimenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 

The Following 2 Users Say Thank You to qwazix For This Useful Post:
Posts: 203 | Thanked: 445 times | Joined on Mar 2010
#119
Sounds awesome so far.

Unfortunately, timenow doesn't work for me anymore since it's supposed to show the lockscreen (0.0.5). Tried reinstalling, purging, reboot, et al. to no avail. Haven't looked at the code or anything yet, maybe you can suggest a way to debug this?

Last edited by foobar; 2012-09-07 at 17:05. Reason: No luck with 0.0.8 either
 

The Following User Says Thank You to foobar For This Useful Post:
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#120
bleep...

Please try running sh /opt/timenowd/bin/powerbutton as root. Does it open the power button menu?

Does your powerbutton bring up the lockscreen normally when locked? Do you have qtLockscreen installed?

Does it work for anybody else?
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jollacontactlaunchtimenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 

The Following User Says Thank You to qwazix For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 14:47.