'inactivity' signal - apply settings for standby.
/opt/scripts/cpu_sleep.sh * * com.nokia.mce.signal system_inactivity_ind
#!/bin/sh ###This **** checks to see if phone is REALLY asleep... brightness=$(cat /sys/class/backlight/acx565akm/brightness) keyboard=$(cat /sys/devices/platform/gpio-switch/slide/state) #charger=$(cat /sys/devices/platform/musb_hdrc/charger) if [ "$brightness" == "0" ]; then if [ "$keyboard" == "closed" ]; then #load cpu profile, i.e. underclock #Do other stuff to save power i.e. vfs cache pressure etc. #maybe even stop bme for total max bro sleep. #start/stop bme on charger connected # if [ "$charger" = "0" ]; then # stop bme # echo $(date +"%d-%m %T") "bme stopped" >> /root/log #fi fi fi