mirror of
https://github.com/sjlongland/cluster-powerctl.git
synced 2025-09-13 12:03:14 +10:00
setpoints: Add warning timeout.
If the charge isn't rising, we should wait before acting on it in case it is temporary in nature. It was hoped that the charger delay should be enough, but it seems it still can flap. We reset the warning if we see an improvement, or let the timer expire if we don't.
This commit is contained in:
parent
10cf0c710a
commit
0e58231224
@ -94,4 +94,9 @@
|
||||
*/
|
||||
#define T_LF_S (15)
|
||||
|
||||
/*!
|
||||
* How long before we consider a lack of voltage increase a warning?
|
||||
*/
|
||||
#define T_CWARN_S (10)
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user