-
-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PRO X Wireless Headset #197
Conversation
Just noticed that #131 is related. |
Just noticed some quirks with the voltage. When it gets lower the percentage isn't correct anymore |
Yes, you used a linear formular for the voltage. However LI-Ions usually hold their voltage for a long time (slowley decreasing) and then suddenly decreasing when they are nearing under 20%. E.g. here are examples: https://hobbygraderc.com/lipo-voltage-chart/ You can use a polynomial regression calculator to make a mathematical curve: https://arachnoid.com/polysolve/ (the website will even generate C code) Or you can use simple splines:
We can put the function in utility.h with p and v as parameters, so every headset can use it if it wants to use that method. You can try it with some parameters, and insert it into your code. I can then make another commit to put it properly in conjunction with utility.h |
It would not be reached if it is charging.
Adding support for Windows with MSYS2. Helps observing the percentage in G Hub and the raw voltage readings.
I have observed the discharging until it turned off now. The best option is using a polynomial regression function for the discharging. I have added support for a Windows MSYS2 environment, and could monitor the raw values with the percentage displayed from G Hub side-by-side. I need to collect some values from the higher end, but it looks promising. |
The estimate_battery_level should return a precentage most equal to G Hub.
@jaypikay @Sapd You are both seriously awesome for creating this tool and for figuring out ProX Wireless support.
Also, I have some general questions about PRO X Wireless on Linux:
Anyway I am heavily leaning towards buying G PRO X Wireless, and am really grateful that you figured out support for it and did such a great job matching the official Windows battery indicator. The other alternative I have been looking at is the Arctis Pro Wireless (see thread here discussing it on Linux) which has a standalone breakout box that means no need to run any software at all, it is all handled on the box with physical battery indicator and automatic charging. But the Logitech Pro X Wireless looks more appealing physically: No bulky "breakout box dongle", has double battery life at 20+ h instead of 10 h (meaning no need to swap Logitech batteries constantly, whereas Arctis is made for constantly switching battery every 10 hours), and in fact Logitech has no ability to swap battery at all (which is just a hassle anyway), and you can plug in a USB C charger cable from anywhere and charge it while using it (and I just happen to have a loose USB C charger exactly where I sit!). So in the end, if the PRO X Wireless is now a good experience on Linux then I lean towards picking that one! It has a long battery life, no annoying box, and it can permanently sit next to me either being used or charging itself. Seems really great. Thanks again and thanks in advance if you are able to answer any of these short questions. 😊 I am okay with short yes/no answers. Any help would be greatly appreciated. |
Hey thank you, for you post.
|
@jaypikay Thank you so much for your answers. I apologize, I thought I had replied earlier. I am really grateful that you took the time. I'm glad to hear that the automatic standby works on Linux too, so the battery doesn't go empty constantly. And I see now in the code that inactivity timeout is configurable for G Pro. Awesome. And you're right, Logitech uses some Blue plugins on Windows. But I discovered that we can get really good audio quality on Linux too by using the EasyEffects app: https://github.com/wwmm/easyeffects Thanks for everything. You're a fantastic person. :) |
* Logitech PRO battery status support * Added Support for setting the inactivity timeout * Fine tuned battery status * Support Windows MSYS2 environment
Logitech devices seem a bit strange when reporting their voltage. As far as I could see the PRO X reports the voltage capacity.