on PCP project we are gathering some metrics from batteries (used typically on laptops). To enable automated testing I would like to have the opportunity to select relevant hardware to run tests on. Such a hardware needs to have a battery and a battery controller present and communicating with the system.
On Beaker I am using Device/Description contains battery filter, however it is not fully reliable. For the reliable selection I need to run lshw | grep -i battery on booted system and check what the lshw returns.
Hi there,
on PCP project we are gathering some metrics from batteries (used typically on laptops). To enable automated testing I would like to have the opportunity to select relevant hardware to run tests on. Such a hardware needs to have a battery and a battery controller present and communicating with the system.
On Beaker I am using
Device/Description contains battery
filter, however it is not fully reliable. For the reliable selection I need to runlshw | grep -i battery
on booted system and check what thelshw
returns.