Powersupply is a free and open source power subsystem debugger application for Linux. You can use this application to check power supply status in your Linux mobile platforms. It will show your battery, ac adaptor and Type-c power status. It is released under MIT License. You can install Powersupply using below steps in Linux.
How to install Powersupply on Ubuntu
Powersupply is available as a flatpak package file from the remote flathub. First install flatpak and flathub on your system and restart it after the installation.
After that open the terminal application (ctrl+alt+t) and run below Powersupply flatpak install command. It will install Powersupply on your system.
flatpak install flathub nl.brixit.powersupply
And open it using below command.
flatpak run nl.brixit.powersupply
And you can also uninstall Powersupply app using below commands.
flatpak uninstall nl.brixit.powersupply
sudo flatpak uninstall nl.brixit.powersupply