[Midnightbsd-cvs] [MidnightBSD/src] 77406f: batt: distinguish AC line status values

Lucas Holt noreply at github.com
Thu Sep 3 19:17:03 EDT 2026


  Branch: refs/heads/stable-4.1-batt-acline-status
  Home:   https://github.com/MidnightBSD/src
  Commit: 77406fa66b2abfdb0db6516fa41be5d68a43f2df
      https://github.com/MidnightBSD/src/commit/77406fa66b2abfdb0db6516fa41be5d68a43f2df
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-09-03 (Thu, 03 Sep 2026)

  Changed paths:
    M usr.bin/batt/batt.c
    M usr.bin/batt/tests/batt_test.c

  Log Message:
  -----------
  batt: distinguish AC line status values

Report battery power only for an offline AC line, diagnose unknown and invalid statuses, and add regression coverage. Flush test output before the child exits so successful output can be asserted.

AI-Assisted-by: GPT-5.6 (Codex)
Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list