import utils.sh in battery.sh
This commit is contained in:
parent
bb92bb5e64
commit
49f212207e
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
|||
# setting the locale, some users have issues with different locales, this forces the correct one
|
||||
export LC_ALL=en_US.UTF-8
|
||||
|
||||
current_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
source $current_dir/utils.sh
|
||||
|
||||
linux_acpi() {
|
||||
arg=$1
|
||||
BAT=$(ls -d /sys/class/power_supply/BAT* | head -1)
|
||||
|
|
Loading…
Reference in a new issue