To install Device::ACPI::Battery, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::ACPI::Battery
CPAN shell
perl -MCPAN -e shell install Device::ACPI::Battery
For more information on module installation, please visit the detailed CPAN module installation guide.