Skip to content

Conversation

goose121
Copy link
Contributor

@goose121 goose121 commented Jul 9, 2025

It seems on my system that there has been a recent kernel change where current_now is reported negative when discharging, leading to no reported time remaining, only a dash; given this is only on certain kernel versions, it is perhaps better to just take the absolute value of current_now when calculating time remaining, just to remain compatible with both

Checklist when contributing a new contrib

  • Have you run ./update-readme.sh?

It seems on my system that there has been a recent kernel change where `current_now` is reported negative when discharging, leading to no reported time remaining, only a dash; given this is only on certain kernel versions, it is perhaps better to just take the absolute value of `current_now` when calculating time remaining, just to remain compatible with both
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant