Skip to content

upower: make dummy backend functional on Termux#28543

Merged
robertkirkman merged 12 commits intotermux:masterfrom
BullyMaguire-lol:dev/upower
Mar 8, 2026
Merged

upower: make dummy backend functional on Termux#28543
robertkirkman merged 12 commits intotermux:masterfrom
BullyMaguire-lol:dev/upower

Conversation

@BullyMaguire-lol
Copy link
Copy Markdown
Contributor

@BullyMaguire-lol BullyMaguire-lol commented Feb 19, 2026

This PR enhances the dummy backend of UPower to make it
functional on Termux.

The dummy backend now uses termux-battery-status
to expose real battery information.

This allows KDE PowerDevil and other consumers
to display actual battery data instead of 0% or null values.

The goal is to make the dummy backend practically useful
in Termux.

KDE Plasma 6
kde
Gnome from #28268
gnome
Mate-desktop
mate
xfce4
xfce4
lxqt
lxqt

Comment thread packages/upower/build.sh Outdated
Comment thread packages/upower/fix-dummy-backend.patch Outdated
Comment thread packages/upower/fix-dummy-backend.patch Outdated
Comment thread packages/upower/fix-dummy-backend.patch
Comment thread x11-packages/powerdevil/disable-udev.patch
@BullyMaguire-lol BullyMaguire-lol force-pushed the dev/upower branch 4 times, most recently from 92248d9 to 6f4b858 Compare February 21, 2026 17:20
@termux termux deleted a comment from rajputali09988 Feb 21, 2026
Copy link
Copy Markdown
Member

@robertkirkman robertkirkman left a comment

Choose a reason for hiding this comment

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

It's working now

@BullyMaguire-lol BullyMaguire-lol force-pushed the dev/upower branch 7 times, most recently from 2ccde37 to 1a966b2 Compare March 1, 2026 05:47
@BullyMaguire-lol BullyMaguire-lol force-pushed the dev/upower branch 6 times, most recently from 384fb64 to 18de827 Compare March 5, 2026 02:35
@robertkirkman
Copy link
Copy Markdown
Member

Auto update failure is

@BullyMaguire-lol BullyMaguire-lol force-pushed the dev/upower branch 6 times, most recently from fece2ea to d522aae Compare March 6, 2026 14:00
@BullyMaguire-lol BullyMaguire-lol force-pushed the dev/upower branch 7 times, most recently from d18c0c3 to 5c51ae4 Compare March 7, 2026 13:01
@robertkirkman
Copy link
Copy Markdown
Member

This PR causes all desktop environments builtin battery icons to start working.

only XFCE in Termux already has its own custom battery icon, and this one does not conflict with it and they both can now work at the same time or individually.

image

The original XFCE one will be kept and not removed, so that people who were already using it do not have it replaced, and because they are slightly different so if one of them is better than the other there is the option of using it

@BullyMaguire-lol BullyMaguire-lol force-pushed the dev/upower branch 4 times, most recently from 44c3b5e to 35d5f03 Compare March 7, 2026 16:52
@BullyMaguire-lol BullyMaguire-lol marked this pull request as ready for review March 8, 2026 08:03
Comment thread x11-packages/xfce4/build.sh Outdated
@robertkirkman robertkirkman merged commit a1a8923 into termux:master Mar 8, 2026
11 checks 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