Skip to content

Warning on battery notPresent#23

Open
odonnelln wants to merge 1 commit intolausser:masterfrom
odonnelln:master
Open

Warning on battery notPresent#23
odonnelln wants to merge 1 commit intolausser:masterfrom
odonnelln:master

Conversation

@odonnelln
Copy link

The check currently doesn't trigger a warning on the battery accelerator being "notPresent". The battery status will be "notPresent" if the cache is permanently disabled due to a faulty battery being present.

I have also added in the changes from #16 for the name change

$self->add_info(sprintf 'controller accelerator battery is %s',
$self->{cpqDaAccelBattery});
if ($self->{cpqDaAccelBattery} eq "notPresent") {
# permenently disabled battery return as notPresent even when it is disabled because of a faulty battery

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a typo. It should read permanently.

@lausser
Copy link
Owner

lausser commented Jul 25, 2024

What if there is no battery on purpose?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants