Install cairo-dock-powermanager-plug-in by entering the following commands in the terminal:
sudo apt update sudo apt install cairo-dock-powermanager-plug-in
Powermanager plug-in for Cairo-dock
A collection of official plug-ins and applets for cairo-dock. . This plug-in controls the powermanager for your laptop's battery. It works with ACPI and DBus.