Skip to content

Automatic pause when battery low #40

Description

@nicktallen

Problem

Self-hosted runners consume significant CPU/memory. When a MacBook is on battery and charge drops low, runners should automatically pause to preserve battery life.

Proposed Solution

Monitor battery level via IOKit/IOPowerSources and auto-pause all runners when:

  • Battery drops below a configurable threshold (default: 20%)
  • Auto-resume when plugged in or above threshold

Acceptance Criteria

  • Detect battery level on macOS
  • Configurable low-battery threshold (Settings UI + CLI flag)
  • Auto-pause all running runners when threshold hit
  • Auto-resume when charging resumes or level recovers
  • Menubar notification when auto-pause triggers
  • Opt-out toggle in settings

Notes

Listed in README under "Planned Features." Filing to track formally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority:mediumNice to have — address when capacity allows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions