bkbilly / lnxlink

🖥 Effortlessly manage your Linux machine using MQTT.

Home Page:https://bkbilly.gitbook.io/lnxlink

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Power profile

answer35 opened this issue · comments

Describe the solution you'd like

Hello, great work, I was also using IoT Link on windows and when I decided to switch to Linux, I was looking everywhere for a similar solution. Thanks to you it was easy to find it ;)
Do you think it could be possible to get power profile information and command so we could make automation to switch between performance mode to battery saving when screen is locked for example ? and switch it back to performance when unlocked.

Additional context

No response

This could be possible with the powerprofilesctl.
I'll look into it once I get the chance.

I've added this feature on the development version of LNXlink, but I haven't tested it.
Let me know if you have any issues.

I made the upgrade with command line pip3 install -U lnxlink
But I don't see anything related to power profile showing up in MQTT yet

You will have to uninstall and install using the development version, or wait for the next release of LNXlink.

Okay i reinstall with development version and power profile works great, selection is applied very quickly. It will be really interesting to make automation with this :) thank you for the great work ;)
When will be the stable version including that ? To know when I will be able to go back on stable release instead ?

I've made a lot of changes this month which I haven't tested myself.
If everything works as expected, I'll release the 2023.9.0 version in about a week.

Okay I will follow the future release then. Thank you