temperature(3) - Linux man page
Name
Acpi::Temperature - A class to get informations about your battery.
Synopsis
use Acpi::Temperature;
$temperature = Acpi::Temperature->new;
print "Current Temperature".$temperature->getTemperature."\n";
Description
Acpi::Temperature is used to have information about the temperature of the machine.It's specific for GNU/Linux.
Method Descriptions
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.
- Contructor for the class
Authors
- • Developed by Shy <shy@cpan.org>.
Pod Errors
Hey! The above document had some coding errors, which are explained below:
- Around line 145:
- You forgot a '=back' before '=head1'