Skip to content

Comments

Add line_power_AC0 to the recognized device list.#141

Merged
fiffeek merged 1 commit intofiffeek:mainfrom
PascalCompiles:main
Dec 22, 2025
Merged

Add line_power_AC0 to the recognized device list.#141
fiffeek merged 1 commit intofiffeek:mainfrom
PascalCompiles:main

Conversation

@PascalCompiles
Copy link

What does this PR do?

It adds line_power_AC0 to the recognized device list in power.go

Why is this change important?

discovered upon running upower -e that my device is not on the recognized device list:

/org/freedesktop/UPower/devices/battery_BAT0
/org/freedesktop/UPower/devices/line_power_AC0
/org/freedesktop/UPower/devices/DisplayDevice

Hopeful this will help others in not having to override the power device in the configuration file

How to test this PR locally?

Assuming the same device name in upower, run hyprdynamicmonitors and look for warnings/errors.

Related issues

#105 has a similar device.

@fiffeek fiffeek merged commit 48f8f3c into fiffeek:main Dec 22, 2025
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