Eric Saxe wrote: > Aubrey Li wrote: >> >> I believe this bug should be reported to VirtualBox, not to powertop. >> the root cause is virtualbox doesn't pass the battery info from host to >> guest. >> you can confirm it in the acpi table on the guest. >> > > What does the kstat report if the ACPI table isn't present? ...or does the > kstat not get created? > battery in kstat will be created, but the kstat member depends on what BIOS exports to OS. if battery is not present, the battery control method in ACPI will tell us, like this one, even doesn't have BIF object.
Thanks, -Aubrey > module: battery instance: 0 > name: battery warning class: misc > crtime 47.413763103 > enabled 0 > low capacity threshold 0 > snaptime 2215.84236619 > warn capacity threshold 0 > > module: battery instance: 0 > name: power class: misc > crtime 47.413758137 > snaptime 2215.842849596 > supported_battery_count 0 > system power AC
