mirror of
https://github.com/sjlongland/cluster-powerctl.git
synced 2025-09-13 12:03:14 +10:00
setpoints: Define an increment step to provide hysteresis.
By incrementing the battery voltage on compare, we ensure we are seeing a steadily increasing voltage. If we're not seeing that, then we flag the warning.
This commit is contained in:
parent
112a127c52
commit
87d76972df
@ -82,6 +82,13 @@
|
||||
*/
|
||||
#define V_CL_MV (11800)
|
||||
|
||||
/*!
|
||||
* Battery minimum charge step. This is the amount of charge we expect
|
||||
* the battery to have increased by before we consider flagging a
|
||||
* warning.
|
||||
*/
|
||||
#define V_DELTA_MV (250)
|
||||
|
||||
/* --- Timeouts --- */
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user