![]() |
2015-06-19
, 08:17
|
Posts: 728 |
Thanked: 1,217 times |
Joined on Oct 2011
|
#11
|
The Following User Says Thank You to ggabriel For This Useful Post: | ||
![]() |
2015-06-19
, 14:24
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#12
|
Interesting @juiceme, but this raises 2 questions for me:
- as I didn't run any "real" experiment before the update, if I do this now, I don't how I will be able to use this results, any idea?
- could you please describe the process to run such measures?
#!/bin/bash battery=$(upower -d | grep percentage | awk '{print $2}') date=$(TZ='Europe/Helsinki' date "+%d.%m.%Y %H:%M") echo "$date --> $battery"
# log power usage every 30 minutes 1,31 * * * * /home/nemo/bin/powerlog.sh >> /home/nemo/powerlog.txt