AccSettings
AccSettings copied to clipboard
Issues about some configuration
I am documenting this for now and then take time to see how acca
handles it, or if it has been discussed in any previous issues. If not, submit it for discussion.
-
cooldown_custom
file string input or options? options from where? -
apply_on_boot
andapply_on_plug
string input or options? options from where? -
reset_batt_stats_on_pause
andreset_batt_stats_on_unplug
what settings do they affect?
-
max_temp_pause
necessary? As I understand it, whenmax_temp
is set,acc
will loop to detect if it is higher than that value and then pause charging. Then setting the duration of loops seems to be meaningless. -
max_charging_current
andmax_charging_voltage
file string input or options? options from where? The documentation says that the file is automatically selected, so for now we can ignore the file. -
lang
is meaningless for front-end.
non-nullable number
property | unit | min | max |
---|---|---|---|
shutdown_capacity | % or mV | 0 or 3000 | cooldown_capacity and resume_capacity |
cooldown_capacity | % or mV | shutdown_capacity | pause_capacity |
resume_capacity | % or mV | shutdown_capacity | pause_capacity |
pause_capacity | % or mV | cooldown_capacity and resume_capacity | 100 or 4200 |
cooldown_temp | °C | 0 | max_temp |
max_temp | °C | cooldown_temp | shutdown_temp |
shutdown_temp | °C | max_temp | 100 |
nullable number
property | unit | min | max | dependency |
---|---|---|---|---|
cooldown_charge | second(s) | 0 | non | cooldown_custom==null |
cooldown_pause | second(s) | 0 | non | cooldown_custom==null |
cooldown_current | mA | 0 | non | cooldown_pause!=null |
max_charging_current | mA | 0 | non | non |
max_charging_voltage | mV | 3700 | 4200 | non |
amp_factor | non | 0 | non | non |
volt_factor | non | 0 | non | non |
max_temp_pause | second(s) | 0 | non | non |
-
max_temp_pause
is redundant. default 90. if necessary, can be sync withcooldown_pause
.
switch
property | dependency |
---|---|
capacity_sync | non |
capacity_mask | pause_capacity is not voltage |
capacity_freeze2 | shutdown_capacity==0 |
reset_batt_stats_on_pause | non |
reset_batt_stats_on_unplug | non |
prioritize_batt_idle_mode | charging_switch==null |
current_workaround | cooldown_current!=null or max_charging_current!=null or charging_switch is current |
string
property | dependency |
---|---|
cooldown_custom | cooldown_charge==null and cooldown_pause==null |
charging_switch | non |
run_cmd_on_pause | non |
loop_cmd | non |
-
charging_switch
can only be input with options from--test
or number from [0,500] mA and 3700 mV.
string options
property | options |
---|---|
lang | hardcoded |
TODO
-
batt_status_workaround
-
sched
-
batt_status_override
-
reboot_resume
-
discharge_polarity
- one-line scripts
-
off_mid