Ubuntu – How to see the battery status of the Logitech wireless mouse


Is there a way to monitor the mouse's battery status in Kubuntu? I have a Logitech Wireless Mouse M510 and in Windows I can use the default software (from official site) to monitor battery status and do other things like editing some mouse buttons etc.

Is there any software to do same thing or just monitoring battery status (applets, widgets, software etc.)?

Best Answer

From the CLI, UPower can do this:

$ upower --dump
Device: /org/freedesktop/UPower/devices/mouse_0000o0000o0000x0000
  native-path:          /sys/devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9.4/3-9.4:1.2/0000:0000:0000.0000/0000:0000:0000.0000
  vendor:               Logitech, Inc.
  model:                Anywhere MX
  serial:               00000000
  power supply:         no
  updated:              Sun 10 Jul 2016 04:47:36 AM EDT (84 seconds ago)
  has history:          yes
  has statistics:       no
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    percentage:          95%
    icon-name:          'battery-full-symbolic'

From the GUI, mate-power-statistics (from the MATE Power Manager project) or gnome-power-statistics (from the GNOME Power Manager project) can do this.

gnome power statistics