Reply
Thread Tools
DJJonosound's Avatar
Posts: 411 | Thanked: 302 times | Joined on May 2012 @ Australia
#1
Cant find anywhere stating how one could do this. Is there a command that can be entered in terminal to put the device into sleep mode/lps/standby whatever its called?

Thanks,
Jono
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#2
Use mcetool to simulate the pressing of the power button.
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Mikkosssss's Avatar
Posts: 645 | Thanked: 519 times | Joined on Apr 2012 @ Finland
#3
This is script made by Shurman from N9QT
Code:
#!/bin/sh

echo rootme | sudo sh -c "dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:locked;dbus-send --system --type=method_call --print-reply --dest=com.nokia.devicelock /request com.nokia.devicelock.setState int32:1 int32:1"

exit 0
It also activates security code instantly if you have delayed lock.
__________________
────────────────────
Try:My N9 bootvideo
 

The Following 2 Users Say Thank You to Mikkosssss For This Useful Post:
DJJonosound's Avatar
Posts: 411 | Thanked: 302 times | Joined on May 2012 @ Australia
#4
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:25.