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

Implement Intel Battery Power Optimizer #1246

Open
mkopec opened this issue Feb 18, 2025 · 0 comments
Open

Implement Intel Battery Power Optimizer #1246

mkopec opened this issue Feb 18, 2025 · 0 comments
Labels
EC enhancement New feature or request

Comments

@mkopec
Copy link
Member

mkopec commented Feb 18, 2025

The problem you're addressing (if any)

The power limit implementation in EC does not take into account that the battery may have a different max discharge rate depending on charge level.

Describe the solution you'd like

Check if the battery supports BPO v2 first (depends on fuel gauge and its firmware)

Implement full support for Intel BPO v2 battery fuel gauges, which report max peak power (10ms window, PL4), sustained peak power (10s window, PL2) and other related values over SMBus.

Where is the value to a user, and who might that user be?

Better stability, no sudden shutdowns when starting a compilation job while on battery power (happens to me quite often on NV4x)

Describe alternatives you've considered

No response

Additional context

References:

  • Intel PDPM Design Guide, #644413
  • Intel BPO v2 SMBus Implementation Specification, #575674
@mkopec mkopec added enhancement New feature or request EC labels Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EC enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant