-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
systemstats: Consider discharge cap in remaining time calculation
The battery is typically configured not to discharge below 10%, which skewes the remaining time calculation since there's an additional half-a-kilowatt or so remaining that will not acutally be used. Rather than introduce a fully-fledged wrapper around the getDisChargeConfigInfo (which also includes configurable time settings), just call it directly for this one particular use case.
- Loading branch information
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters