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

batterylimit.service not respecting max_battery_charge_level #1355

Closed
astrojuno opened this issue Jul 13, 2024 · 1 comment
Closed

batterylimit.service not respecting max_battery_charge_level #1355

astrojuno opened this issue Jul 13, 2024 · 1 comment
Labels
bug Something isn't working legion-go Issues related to the Lenovo Legion Go

Comments

@astrojuno
Copy link

Describe the bug

Edited /etc/default/batterylimit so it reads:
MAX_BATTERY_CHARGE_LEVEL=80

Started batterylimit.service by:
sudo systemctl enable batterylimit.service

Drained the battery below 80%. Plugged device in, battery charged to 100%.

What did you expect to happen?

Battery to only charge to ~80%.

Output of rpm-ostree status

State: idle
Deployments:
  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck-gnome:stable
                   Digest: sha256:c53a8b7cdb78233b3b13f58a6f770b18a0abb8f6f283e9cf4cf33d3c8f552a74
                  Version: 40.20240712.0 (2024-07-12T04:58:14Z)
                     Diff: 82 upgraded, 16 removed, 15 added

● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck-gnome:stable
                   Digest: sha256:34717b5e0862ae1d242402807ba5b0ce7907f83e840cf6603840e489c9457a93
                  Version: 40.20240706.0 (2024-07-06T07:24:58Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck-gnome:stable
                   Digest: sha256:34717b5e0862ae1d242402807ba5b0ce7907f83e840cf6603840e489c9457a93
                  Version: 40.20240706.0 (2024-07-06T07:24:58Z)

Hardware

Lenovo Legion Go
cat /sys/devices/virtual/dmi/id/product_name: 83E1

Extra information or context

SSD has been upgraded, let me know if that's relevant and more details are needed.

Dual boot scenario (Windows and Bazzite). Windows has not been booted since attempting battery limit.

@dosubot dosubot bot added bug Something isn't working legion-go Issues related to the Lenovo Legion Go labels Jul 13, 2024
@KyleGospo
Copy link
Member

That service is only for the steam deck, the feature you're looking for is present in HHD. I would disable this service and use that.

@KyleGospo KyleGospo closed this as not planned Won't fix, can't repro, duplicate, stale Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working legion-go Issues related to the Lenovo Legion Go
Projects
None yet
Development

No branches or pull requests

2 participants