Solaar is a Linux device manager for Logitech's Unifying Receiver peripherals. It is able to pair/unpair devices to the receiver, and for most devices read battery status.
Install Solaar on Ubuntu can be easy with a deb file, but that's a bit out of date,many new features are not included.So I recommend to install latest version from github manually.