Hi, I'm trying to add virtual battery to QEMU. More specifically, if the HOST is running on battery power [laptop] I want to pass this knowledge to GUEST.
I have looked at ACPI folder within QEMU source code, however was unable to find the specific place where I can add this functionality. Can someone provide me with general roadmap of what should I do and where I should start? I suspect that changing the QEMU source code will not be enough and I will also have to implement a driver for the GUEST. Thanks, Naftaly.
