Acpi::Temperature - A class to get informations about your battery.
use Acpi::Temperature;
$temperature = Acpi::Temperature->new;
print "Current Temperature".$temperature->getTemperature."\n";
Acpi::Temperature is used to have information about the temperature of the machine.It's specific for GNU/Linux.
This sections contains only the methods in Temperature.pm itself.
new();
Contructor for the class
getTemperature();
Return the temperature.
getState();
Return the state.
getCritical();
Return the critical temperature.
getPassive();
Return the passive temperature.
getActive();
Return the active temperature.
getCoolingMode();
Return 0 if cooling mode is active or -1.
Developed by Shy <shy@cpan.org>.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Acpi::Fan, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Acpi::Fan
CPAN shell
perl -MCPAN -e shell install Acpi::Fan
For more information on module installation, please visit the detailed CPAN module installation guide.