-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Bluetooth not able to retrieve battery percentage #91
Comments
I am not sure how to replicate it since, it never worked for me, I always assumed that my devices just don't send information about battery, but now that you mention it I know for a fact my earphones do |
I would use |
Hi @Aylur , When I install gnome I get bluetooth battery percent to work. So I guess it is tied with something in the gnome to make it work? |
I know that, trying to make it work with the new addition of the SysProgress to show ram used not by the percentage but by the GB. I can do a execAsync to retrieve a bash command for "free --giga -h | grep 'Mem' | awk '{print $3}'" that does the trick, but wondering how it can be incorporated with SysProgress? |
You mean the CircularProgresses? They represent a percentage show I am not sure what you are trying to accomplish |
I also have gnome installed and they don't work for me. Maybe there is a depndency of gnome-bluetooth that I am missing |
You know that you implemented a tooltip for a DateColumn's SysProgress box. That tool-tip shows percentage used by by ram and cpu. I would like it to show GB used instead. |
Hi @Aylur ,
Does this snippet work for you - this is in SystemIndicators.js?
|
you can use another |
no, the batteryPercent is |
Hm, this is weird. For me it gathers battery percentage just fine for a mouse. For a keyboard it needs to be restarted (turn off and back on) a few times but it does work. Unsure what makes it tick. Anyhow, I will create a bash script that gathers the data from the bluetoothctl and make ags service to display it in place of BluetoothDevicesIndicator and make it run every 10 seconds or so which is fine solution for me. |
turns out, it is an experimental feature and you have to enable it in |
Hi @Aylur , I'm unable to get it working on NixOS, even when enabled, no battery percentage shows up. This is the content of /etc/bluetooth/main.conf (using hardware.bluetooth.settings.General.Experimental = true):
|
I figured it out, seems that some service provides this info, I think it is upower but could be any of these: |
Hi @Aylur ,
From the last couple of commits, Bluetooth is unable to display batteryPercentage. This worked before, can you replicate it?
If not, I will try to debug it by downgrading ags to the version that it used to work before.
Also, unrelated to this, how would I be able to retrieve RAM usage in GB instead of percentage wise?
The text was updated successfully, but these errors were encountered: