Skip to content
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

Getting the wrong battery info #23

Open
MikaelFangel opened this issue Oct 13, 2023 · 1 comment
Open

Getting the wrong battery info #23

MikaelFangel opened this issue Oct 13, 2023 · 1 comment

Comments

@MikaelFangel
Copy link

Depending on how acpi lists the batteries when you have connected Bluetooth devices, the script will update the wallpaper based on the wrong input ot not at all.

Example with on Bluetooth mouse connected:

mikael@nixos:~/Programming/nix/NUR/ > acpi                                          
Battery 0: Charging, 93%, 00:11:33 until charged
Battery 1: Discharging, 0%, rate information unavailable

Expected behavior

The script animates the background regardless if there are other devices showing up in the acpi print.

@MikaelFangel
Copy link
Author

My current workaround is to disconnect the mouse and the connect it again so the order changes. 😅

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

No branches or pull requests

1 participant