Skip to content

Cherry pick PR #9259: Revert "Disable BatteryMonitor for Cobalt builds"#10039

Open
cobalt-github-releaser-bot wants to merge 2 commits intomainfrom
cherry-pick-main-9259
Open

Cherry pick PR #9259: Revert "Disable BatteryMonitor for Cobalt builds"#10039
cobalt-github-releaser-bot wants to merge 2 commits intomainfrom
cherry-pick-main-9259

Conversation

@cobalt-github-releaser-bot
Copy link
Copy Markdown
Collaborator

Refer to the original PR: #9259

Reverts #8912

@github-actions
Copy link
Copy Markdown
Contributor

🤖 Gemini Suggested Commit Message


cobalt: Re-enable BatteryMonitor

This change reverts the explicit disabling of BatteryMonitor for Cobalt
builds. BatteryMonitor is now allowed to be initialized, restoring
previous functionality for platforms where it is applicable.

Bug: 9259

💡 Pro Tips for a Better Commit Message:

  1. Influence the Result: Want to change the output? You can write custom prompts or instructions directly in the Pull Request description. The model uses that text to generate the message.
  2. Re-run the Generator: Post a comment with: /generate-commit-message

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request removes the IS_COBALT build flag check within the BindBatteryMonitor method in services/device/device_service.cc, which previously caused an early return. I have no feedback to provide.

@johnxwork johnxwork enabled auto-merge (squash) April 14, 2026 22:34
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.

2 participants