The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.

AUTHORS

  • Developed by Shy <shy@cpan.org>.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 145:

You forgot a '=back' before '=head1'