Acpi

 view release on metacpan or  search on metacpan

Battery.pm  view on Meta::CPAN

107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
        }
        return (%value);
}
 
sub getDesignCapacity{
        my($self) = shift;
 
        return $self->getBatteryInfo("design capacity");
}
 
sub getBatteryTechnology{
        my($self) = shift;
         
        return $self->getBatteryInfo("battery technology");
}
 
sub getBatteryType{
        my($self) = shift;
 
        return $self->getBatteryInfo("battery type");
}
 
sub getOEMInfo{
        my($self) = shift;

Battery.pm  view on Meta::CPAN

379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
Return a hash composed by the name of the battery and 0 or -1 if it's present or not.
 
=item *
 
getDesignCapacity();
 
Return a hash composed by the name of the battery and the design capacity.
 
=item *
 
getBatteryTechnology();
 
Return a hash composed by the name of the battery and the technology.
 
=item *
 
getBatteryType();
 
Return a hash composed by the name of the battery and the type.
 
=item *
 
getOEMInfo();



( run in 0.617 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )