Преглед изворни кода

Set up more reliable battery threshold

Turns out low_threshold is in minutes, not in percent, by default.
Needless to say, time estimates are grossly unreliable here and 10
minutes left is too late anyway.
Alois Mahdal пре 10 година
родитељ
комит
4e5aaa504c
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2
    1
      dotfiles/i3status.conf

+ 2
- 1
dotfiles/i3status.conf Прегледај датотеку

25
        status_bat = "⚡B0"
25
        status_bat = "⚡B0"
26
        status_full = "☻F0"
26
        status_full = "☻F0"
27
        path = "/sys/class/power_supply/BAT%d/uevent"
27
        path = "/sys/class/power_supply/BAT%d/uevent"
28
-       low_threshold = 10
28
+       low_threshold = 30
29
+       threshold_type = percentage
29
        hide_seconds = true
30
        hide_seconds = true
30
 }
31
 }
31
 
32