Acpi
view release on metacpan or search on metacpan
107108109110111112113114115116117118119120121122123124125126127128129130
}
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
;
379380381382383384385386387388389390391392393394395396397398399400401Return 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 )