Skip to content

Commit

Permalink
Remove power state logging
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalw committed Jan 27, 2021
1 parent 7248ae6 commit 314b1a5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/dash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,8 @@ refresh_dashboard() {
}

log_battery_stats() {
power_state=$(lipc-get-prop -s com.lab126.powerd state)
battery_level=$(gasgauge-info -c)

echo "$(date) Battery level: $battery_level. Power state: $power_state"
echo "$(date) Battery level: $battery_level."
}

rtc_sleep() {
Expand Down

0 comments on commit 314b1a5

Please sign in to comment.