Skip to content

Add a plugin to toggle the battery health preservation mode on ideapad laptops#265

Merged
ItsLemmy merged 1 commit intonoctalia-dev:mainfrom
citral23:main
Feb 17, 2026
Merged

Add a plugin to toggle the battery health preservation mode on ideapad laptops#265
ItsLemmy merged 1 commit intonoctalia-dev:mainfrom
citral23:main

Conversation

@citral23
Copy link
Contributor

Tested on Ideapad 16 ASP10

property string section: ""

readonly property real contentWidth: contentIcon.implicitWidth + Style.marginM * 2
readonly property real contentHeight: Style.capsuleHeight
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This wont work with different bar setup per monitor, please check Hello-world plugin for the proper way to do it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I pushed a modification using the template from hello-world instead of reusing BarWidget from battery-threshold, and added a toggle to the icon to change depending on the mode set.

Preview updated too.

…d laptops

Signed-off-by: Christophe Branchereau <cbranchereau@proton.me>
@ItsLemmy ItsLemmy merged commit 09eb625 into noctalia-dev:main Feb 17, 2026
1 check passed
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

Comments