Skip to content

Conversation

@schmop
Copy link
Contributor

@schmop schmop commented Nov 1, 2025

This is the corrected version of PR #3474.
In the old version, freebsd failed, because important imports were accidentally behind a linux-only macro.
This time I activate the github actions in my own namespace, they ran successful.
Please review!

Text from original issue:

When switching how you listen for battery plugging status events, the battery status will instantly update again!
Instead of inotify events on the /sys/class/.../ files, it is recommended to listen to udev netlink kernel events.

Closes #2444
Closes #2519

Might also
Closes #3726
Closes #3603
Closes #3471

I need aid implementing this, because I'm new to this project.
I will try to make this code look more like the backlight_backend, which also uses the udev netlink interfaces.

@kira-bruneau
Copy link

kira-bruneau commented Nov 8, 2025

I don't have a FreeBSD system to test on, but this fixes the issue for me on Linux! Though, there is a delay of about 3 seconds from when the indicator light changes on my 11th gen framework 13 laptop.

nyiyui added a commit to nyiyui/etc-nixos that referenced this pull request Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants