Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers/liebert-gxe.c: fix bad backup time report #2751

Merged
merged 1 commit into from
Jan 5, 2025

Conversation

goodspeed34
Copy link
Contributor

@goodspeed34 goodspeed34 commented Jan 4, 2025

It seems battery.runtime should be used for battery backup time instead of .low one. Also the division was also faulty probably because I copied and pasted the code from previous lines but the manual says it shouldn't be there.

The commit should give correct backup time readings and corrected variable name.

Follow-up from: #2629 and #2669

@goodspeed34 goodspeed34 force-pushed the gxe-bad-runtime branch 2 times, most recently from a4fdbf8 to 78805a1 Compare January 4, 2025 17:34
It seems `battery.runtime` should be used for battery backup time instead `.low` one. Also the division was also faulty probably because I copied and pasted the code from previous lines but the manual says it shouldn't be there.

The commit should give correct backup time readings and corrected variable name.

Signed-off-by: Gong Zhile <gongzl@stu.hebust.edu.cn>
Copy link
Member

@jimklimov jimklimov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable, thanks for following up.

@jimklimov jimklimov added this to the 2.8.3 milestone Jan 4, 2025
@jimklimov jimklimov merged commit 8bc2bdd into networkupstools:master Jan 5, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants