The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.


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 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 <>.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 145:

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