mirror of
https://github.com/lxsang/sysmond.git
synced 2024-12-25 18:58:20 +01:00
Fix typo
This commit is contained in:
parent
bc8f321b74
commit
6c5ff287ae
2
sysmon.c
2
sysmon.c
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user