1
0
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:
Stuart Longland 2017-03-19 12:54:25 +10:00
parent 112a127c52
commit 87d76972df
Signed by: stuartl
GPG Key ID: F954BBBB7948D546

View File

@ -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 --- */
/*!