|
|
2017-04-09
, 21:01
|
|
Posts: 6 |
Thanked: 11 times |
Joined on Apr 2017
|
#592
|
My custom kernel has double tap to wake feature, but since this is not an original feature of the Nexus5 it will cause a massive battery drain.
Better use the fake dt2w with LPM mode.
|
|
2017-04-09
, 21:11
|
|
Posts: 635 |
Thanked: 1,535 times |
Joined on Feb 2014
@ Germany
|
#593
|
ssu ar mer-tools pkcon refresh pkcon install mce-tools mcetool --set-low-power-mode=disabled mcetool --set-lpmui-triggering=from-pocket,hover-over mcetool --set-low-power-mode=enabled
| The Following 2 Users Say Thank You to mautz For This Useful Post: | ||
|
|
2017-04-09
, 21:20
|
|
Posts: 387 |
Thanked: 707 times |
Joined on May 2015
@ Italy
|
#594
|
If you don't start the 'bt-sleep-monitor.sh' script in some startup script or systemd service, you have to start it manually. (I pretend that the script is in the /home/nemo folder)
Code:chmod +x bt-sleep-monitor.sh # Needed only once devel-su ./bt-sleep-monitor.sh & exit
| The Following User Says Thank You to claustn For This Useful Post: | ||
|
|
2017-04-09
, 22:34
|
|
Posts: 97 |
Thanked: 318 times |
Joined on Feb 2012
@ Switzerland
|
#595
|
if [ "$(hcitool con | grep \>)" == "" ] ; then ...
[root@Sailfish nemo]# hcitool con | grep \> > ACL 00:0D:44:AD:FF:E1 handle 11 state 1 lm MASTER AUTH ENCRYPT
| The Following 2 Users Say Thank You to minimec For This Useful Post: | ||
|
|
2017-04-09
, 23:00
|
|
Posts: 97 |
Thanked: 318 times |
Joined on Feb 2012
@ Switzerland
|
#596
|
How to run the script at startup now? I'm trying to understand how systemd works but I'm not sure yet.
#!/bin/bash
## bt-sleep-monitor service script
start() {
/home/nemo/bt-sleep-monitor.sh &
}
stop() {
killall bt-sleep-monitor.sh dbus-monitor
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
sleep 1
start
;;
*) exit 1
esac
| The Following 2 Users Say Thank You to minimec For This Useful Post: | ||
|
|
2017-04-16
, 08:00
|
|
|
Posts: 4,708 |
Thanked: 4,649 times |
Joined on Oct 2007
@ Bulgaria
|
#599
|
| The Following User Says Thank You to Bundyo For This Useful Post: | ||
|
|
2017-04-19
, 12:37
|
|
Posts: 9 |
Thanked: 12 times |
Joined on Aug 2016
|
#600
|
| The Following 7 Users Say Thank You to qoh For This Useful Post: | ||
![]() |
| Tags |
| hammerhead, nexus5, sailfishos, sfdroid |
| Thread Tools | |
|
I will do another test tomorrow in my car.