nutdrv_qx_masterguard: Adds battery test until battery low.#3135
nutdrv_qx_masterguard: Adds battery test until battery low.#3135jimklimov merged 1 commit intonetworkupstools:masterfrom
Conversation
The difference between the battery test until battery low and deep battery test is that the latter is actually a battery calibration test and needs some preconditions to be met, i.e. the load must be between 30% and 100% and the battery capacity is greater than 99%. Battery test until battery low can be started anytime. Tested on Masterguard A1000 and A2000 units. Signed-off-by: Atanas Vladimirov <vladimirov.atanas@gmail.com>
|
Thanks! Probably not a focus of this specific PR, but got me wondering: do these UPSes report (e.g. in later status polling) that it is in calibration or some other testing mode, so a low-battery state would not mean immediate shutdown for Did any of this misfire in your tests, to initiate shutdown of the testing rig? If any of this is a practical problem, it probably impacts all or most of the Qx subdrivers, maybe they would need to set some internal variable about a user-requested calibrarion and take it into account in the loop part where they Again, this is not something to solve in this PR, if even ever, but if you with first-hand practice with the devices and protocol have any inputs about this, would be great to hear :) |
…t.low [#3135] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
|
Can't really comment on the Qx protocol ( A guess is that the number specifies some sort of timeout ("Run the test after X minutes"?) that applies to one and not another? Or with different defaults (e.g. immediately here, after 10 or 60 minutes there)? |
Sorry, my bad. According to the protocol definition, OTOH, |
|
Thanks for confirming! |

The difference between the battery test until battery low and deep battery test is that the latter is actually a battery calibration test and needs some preconditions to be met, i.e. the load must be between 30% and 100% and the battery capacity is greater than 99%.
Battery test until battery low can be started anytime.
Tested on Masterguard A1000 and A2000 units.