maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Disable charging sound and screen? (https://talk.maemo.org/showthread.php?t=58579)

Kingsley 2010-07-16 13:05

Disable charging sound and screen?
 
Hi
Does anyone know how to stop the noise when charging starts and stop the screen automaticaly turning on.
I've got a solar charger, and it's getting really anoying and probably using up more battery than it's actually getting charged with doing this!
Thanks
K

Kingsley 2010-07-16 21:54

Re: Disable charging sound and screen?
 
or any ideas where i might start fiddling?

xomm 2010-07-16 22:13

Re: Disable charging sound and screen?
 
Quote:

Originally Posted by Kingsley (Post 754378)
or any ideas where i might start fiddling?

As for the sounds, just replace the charging sound in

Code:

/usr/share/sounds
with an empty track.

Megaltariak 2010-07-16 22:25

Re: Disable charging sound and screen?
 
Or just delete/rename them i.e. add a dot at the end of the name of all sounds that you don't want.

Creamy Goodness 2010-07-16 22:50

Re: Disable charging sound and screen?
 
set the system sounds to level 1 or 0 under settings, and disable 'keep screen lit when charging' under display.

Kingsley 2010-07-16 22:54

Re: Disable charging sound and screen?
 
i also want to stop it turning on the scrfeen and saying charging?

Kingsley 2010-07-17 18:46

Re: Disable charging sound and screen?
 
solar charger did work properly though

ndi 2010-07-17 18:57

Re: Disable charging sound and screen?
 
Quote:

Originally Posted by Kingsley (Post 754426)
i also want to stop it turning on the scrfeen and saying charging?

IIRC that's a hack because sometimes the phone didn't start charging when locked because of a bug. In 1.1 IIRC (1.2?), the phone auto-wakes up and unlockes before charging. Forcing it locked might not be good.

JonWW 2010-07-17 19:09

Re: Disable charging sound and screen?
 
Shame solar charger didn't work. Sounds like you need a larger panel.

On a side note, I would like the phone to re-lock itself after imforming you it's charging. What is needed is a script/program which could re-lock the phone after a set time if phone was allready locked before charging. Then if time is set to 0 the screen wouldn't activate and save you some charge.

Kingsley 2010-07-17 20:33

Re: Disable charging sound and screen?
 
JonWW, yeah it worked fine,.. got one of these
http://cgi.ebay.co.uk/ws/eBayISAPI.d...m=260612713837
Attatched it to my bag with some sticky backed velcro, used the normal nokia usb cable, works like a charm, get about 1/3-1/2 a charge for an hour outside.
The real problem is that when i'm in and out of the sunshine I think the phone probably uses more charge up unlocking, turning on the screen, and saying it's charging, then waiting to go back to locked.
Otherwise i reckon i could keep it on and in my bag and net out using no batteries while i was outside..

ndi 2010-07-18 18:47

Re: Disable charging sound and screen?
 
I'd lower screen light, lock timeout, maybe a new profile while charging.

On a different note, you could propose an app to keep the phone locked unless unlocked by slider, or by open keyboard. Or even better, lock after state becomes "charging".

Will require coding, though.

Kingsley 2010-07-18 21:36

Re: Disable charging sound and screen?
 
Hmm sounds like i need to get my coding on! really should get to learning more anyway

JonWW 2010-07-18 22:01

Re: Disable charging sound and screen?
 
Try a Queen Beecon Widget. Someone has got it to change the brightness when the charger is plugged in. Should be able to adapt it.
http://talk.maemo.org/showpost.php?p...&postcount=357

JonWW 2010-07-18 23:20

Re: Disable charging sound and screen?
 
1 Attachment(s)
Got the phone locking when charger is plugged in with a Queen Beecon Widget script.
Attachment 12208

Edit the command within the Widget and change the sleep command to change the time it takes to lock the phone after charger is plugged in.
Code:

sleep 2 && dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"locked"
or remove the sleep command to have it lock instantly
Code:

dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"locked"


All times are GMT. The time now is 06:54.

vBulletin® Version 3.8.8