The Following User Says Thank You to veeall For This Useful Post: | ||
![]() |
2014-06-26
, 12:56
|
Posts: 87 |
Thanked: 31 times |
Joined on Feb 2013
@ Athens
|
#2
|
|
2014-06-26
, 13:02
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#3
|
![]() |
2014-06-27
, 21:05
|
Posts: 1,048 |
Thanked: 1,127 times |
Joined on Jan 2010
@ Amsterdam
|
#4
|
status=$(/usr/bin/bmestat | grep "battery pct. level" | cut -c23-40); echo battery charge $status "%"; if [ $status -le "15" ]; then ssh -X user@local-ip 'DISPLAY=:0 notify-send "Less than 15% of battery left!"'; fi
The Following User Says Thank You to anthonie For This Useful Post: | ||
![]() |
2014-07-05
, 19:15
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#5
|
The Following 3 Users Say Thank You to Schturman For This Useful Post: | ||
![]() |
2014-07-05
, 21:01
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#6
|
![]() |
2014-07-05
, 21:21
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#7
|
My Jolla notifing me every percent drop <= 10%. Why i need to install any battery notifier for that?
![]() |
2014-07-06
, 20:49
|
Posts: 73 |
Thanked: 16 times |
Joined on May 2012
@ THESSALONIKI GREECE
|
#8
|
![]() |
2014-07-06
, 21:04
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#9
|
The Following User Says Thank You to Schturman For This Useful Post: | ||
![]() |
2014-07-06
, 22:00
|
Posts: 73 |
Thanked: 16 times |
Joined on May 2012
@ THESSALONIKI GREECE
|
#10
|
Just open this file and see how I did it:
/usr/share/openrepos-batterynotifer/notifer3.py
Can this be done, anybody knows how?