Skip to content

qemu: Use the new qemu api for battery/lid/power#1391

Merged
brianmcgillion merged 2 commits intotiiuae:mainfrom
brianmcgillion:qemu-acpi-battery
Sep 15, 2025
Merged

qemu: Use the new qemu api for battery/lid/power#1391
brianmcgillion merged 2 commits intotiiuae:mainfrom
brianmcgillion:qemu-acpi-battery

Conversation

@brianmcgillion
Copy link
Copy Markdown
Collaborator

@brianmcgillion brianmcgillion commented Sep 9, 2025

Use the new API that is currently working its way into the mainline on top of qemu 10.1.

https://lists.gnu.org/archive/html/qemu-devel/2025-08/msg04138.html

blochl/qemu#3

Description of Changes

Type of Change

  • New Feature
  • Bug Fix
  • Improvement / Refactor

Related Issues / Tickets

Checklist

  • Clear summary in PR description
  • Detailed and meaningful commit message(s)
  • Commits are logically organized and squashed if appropriate
  • Contribution guidelines followed
  • Ghaf documentation updated with the commit - https://tiiuae.github.io/ghaf/
  • Author has run make-checks and it passes
  • All automatic GitHub Action checks pass - see actions
  • Author has added reviewers and removed PR draft status

Testing Instructions

Applicable Targets

  • Orin AGX aarch64
  • Orin NX aarch64
  • Lenovo X1 x86_64
  • Dell Latitude x86_64
  • System 76 x86_64

Installation Method

  • Requires full re-installation
  • Can be updated with nixos-rebuild ... switch
  • Other:

Test Steps To Verify:

  1. ...

Use the new API that is currently working its way into the mainline on
top of qemu 10.1.

https://lists.gnu.org/archive/html/qemu-devel/2025-08/msg04138.html
blochl/qemu#3

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
Some laptops, either in testing or with a broken battery do not have a
real battery. This will cause the UI to fail to load when the battery is
needed to be passed into it. for this case we create a fake battery that
shows some dummy default value.

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
@brianmcgillion brianmcgillion merged commit 85e689c into tiiuae:main Sep 15, 2025
28 checks passed
@brianmcgillion brianmcgillion deleted the qemu-acpi-battery branch September 15, 2025 14:24
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