2

does anyone know how to display battery indicator in top panel for Apple magic mouse, on desktop computer, when i type in shell 'upower -d' i get info about device, battery and percentage, also if i go to system->power i can see wireless mouse and battery level, but i just want simple percentage in top right corner

anyway to get this?

Thanks

2 Answers 2

1

On Ubuntu 17.10 or above, there is a magic mouse battery indicator in Settings > Power > Devices.

enter image description here

0

See https://askubuntu.com/a/501024/67335.

My thinking is if you can write a shell script which gives you the information you want, then run indicator-sysmonitor and have it call your script.

1
  • I have added background script functionality to askubuntu.com/a/786708/67335 which would allow you to call a script/command of your choosing to parse the result of 'upower -d' and display in the panel. Nov 6, 2021 at 0:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .