1
0
mirror of https://github.com/lxsang/sysmond.git synced 2024-07-01 09:19:46 +02:00
This commit is contained in:
lxsang 2021-02-03 15:55:07 +01:00
parent bc8f321b74
commit 6c5ff287ae
2 changed files with 2 additions and 2 deletions

View File

@ -609,7 +609,7 @@ static int ini_handle(void *user_data, const char *section, const char *name, co
{
opts->bat_stat.min_voltage = atoi(value);
}
else if (EQU(name, "battery_cutoff_votalge"))
else if (EQU(name, "battery_cutoff_voltage"))
{
opts->bat_stat.cutoff_voltage = atoi(value);
}

View File

@ -1,7 +1,7 @@
# Battery configuration
battery_max_voltage = 12600
battery_min_voltage = 10000
battery_cutoff_votalge = 9000
battery_cutoff_voltage = 9000
battery_divide_ratio = 3.36
battery_input = /sys/class/hwmon/hwmon2/device/in3_input