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

[Power] Only show suspend on battery power if the system has a battery #736

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

git-f0x
Copy link
Contributor

@git-f0x git-f0x commented Oct 30, 2024

This is a minor improvement to not show a non-applicable option on e.g. desktops.
I assumed that suspend on AC works the same on laptops and desktops, so I just added a separate fluent key to not mention "plugged in" on systems without a battery (since that's the only state they can be in).

Also fixed a minor text mismatch between the designs and implementation.

@mmstick mmstick merged commit ef051c3 into pop-os:master Oct 30, 2024
3 checks passed
@mmstick
Copy link
Member

mmstick commented Oct 30, 2024

Thanks!

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.

2 participants