moxa-power-manager (2.2.3-1+deb13) trixie; urgency=medium

  [Changed]
  * Support non-MIL build variant for deployment without MIL dependency. Default is non-MIL

 -- Wilson Huang <wilsonys.huang@moxa.com>  Wed, 20 May 2026 15:07:17 +0800

moxa-power-manager (2.2.2-1+deb13) trixie; urgency=medium
  
  [Changed]
  * CPU governor options are now limited to performance, powersave, and schedutil 

 -- Wilson Huang <wilsonys.huang@moxa.com>  Mon, 18 May 2026 17:22:08 +0800

moxa-power-manager (2.2.1-1+deb13) trixie; urgency=medium

  [Fixed]
  * ltc3350-monitor: correct sysfs source used to read supercap system current

 -- Tsungbao Chang <TsungbaoTY.Chang@moxa.com>  Thu, 14 May 2026 17:20:00 +0800

moxa-power-manager (2.2.0-1+deb13) trixie; urgency=medium

  [Added]
  * Support new models: BXP-C101, BXP-C200, DRP-C200
  * Restrict write actions to root via SO_PEERCRED

  [Fixed]
  * cpu set-governor <Core>: support set governor for just a single core
  * power show: round floating-point values to 3 decimal places and strip trailing zeros
  * Correct UC-1200A series name

  [Changed]
  * UC-3400A: continue power-mode transitions when a user hook script fails (log only, do not abort)
  * Suppress repeated supercap-related warnings in syslog
  * Normalize cli output indent and key width across modules
  * Drop syslog warnings for client-facing errors in cpu, thermal, power, and system modules (already returned to the CLI)

  [Removed]
  * Remove V2406D empty configuration

 -- Tsungbao Chang <TsungbaoTY.Chang@moxa.com>  Thu, 07 May 2026 14:04:55 +0800

moxa-power-manager (2.1.2-1+deb13) trixie; urgency=medium

  [Fixed]
  * Remove erroneous `power_ctx` from UC-8600A and UC-3400A; neither model has power supply hardware
  * Module handlers now return correct error codes per product-command when ctx is absent or hardware is unavailable
  * Power `set-auto-shutdown`, `set-shutdown-delay`, and `reset-soh` restricted to V2406D-PLP; other models return `ERROR_NOT_SUPPORTED`
  * Daemon now includes `err_message` in JSON response for `status=0` replies; CLI prints it as plain text

 -- Wilson Huang <wilsonys.huang@moxa.com>  Thu, 30 Apr 2026 19:02:00 +0800

moxa-power-manager (2.1.1-1+deb13) trixie; urgency=medium

  [Fixed]
  * Set configured log level before first syslog calls in main
  * Kill action hook process group on timeout and log outcome as Success, Failed, or Timeout

  [Changed]
  * Replace name-list model lookup with two-step series and product detection
  * Rename "module" to "command" in CLI help and error strings

 -- Wilson Huang <wilsonys.huang@moxa.com>  Thu, 23 Apr 2026 15:00:48 +0800

moxa-power-manager (2.1.0-1+deb13) trixie; urgency=medium

  [Added]
  * Add D-Bus signal service for power and supercap state change events

  [Changed]
  * power show (supercap):
    - Rename plain-text field `Capacity` to `Level` to align with JSON key
    - Capacitance is now reported as percent instead of raw µF
  * Action hook: log successful completion to syslog (previously only failures were logged)
  * Move plp_state/power_source enums into power-monitor-task.h

  [Fixed]
  * Standardize deprecation warnings in mx-pwr-mgmt to include removal notice

 -- Wilson Huang <wilsonys.huang@moxa.com>  Wed, 22 Apr 2026 14:03:55 +0800

moxa-power-manager (2.0.0-1+deb13) trixie; urgency=medium

  [Added]
  * Support functionalities into distinct modules
    - System: global power mode management
    - Power: input and backup power monitoring
    - Thermal: temperature sensor and cooling management
    - CPU: processor policy management
  * Model specific function
    - V2406D: run auto shutdown process when main power is lost and show health status of supercapacitor
    - UC-3400A: power mode switching
  * Support models
    - V2406D
    - UC-3400A
    - UC-4400A series
    - UC-8600A series
    - UC-1222A / UC-2222A series
  * Add set-wakeup-source action to system module with anti-brick protection
  * Add timeout support for system mode hook scripts
  * Add bash-completion script for mx-power-mgmt
  * Add manual pages for mx-power-mgmt
  * Add mx-pwr-mgmt legacy compatibility wrapper script with model check
  * Add postinst migration script for legacy UC-3400A.conf format

 -- Wilson Huang <wilsonys.huang@moxa.com>  Tue, 14 Apr 2026 00:52:00 +0800

moxa-power-manager (1.2.1-1+deb13) trixie; urgency=medium

  [Fixed]
  * Fix FILE resource leak and remove TOCTOU race condition in runtime directory
    handling

 -- SeanHC Lin <SeanHC.Lin@moxa.com>>  Fri, 19 Dec 2025 17:04:31 +0800

moxa-power-manager (1.2.0-1+deb13) trixie; urgency=medium

  [Added]
  * Store the current power mode in a runtime file and enable
    moxa-power-manager.service to set active mode at boot

 -- SeanHC Lin <SeanHC.Lin@moxa.com>  Thu, 18 Dec 2025 21:31:21 +0800

moxa-power-manager (1.1.1-1+deb13) trixie; urgency=medium

  [Changed]
  * Updated dependencies
    * Bump moxa-version to 2.1.2-1+deb13
    * Bump moxa-computer-interface-manager to 2.1.3-1+deb13
  * Remove Bluetooth module before suspend as Wi-Fi powers down; u-blox
    M2-MAYA-W271 Bluetooth is now integrated into the kernel, requiring
    config update

  [Fixed]
  * Remove sa2ul kernel module for sleep mode since it malfunctions after sleep.
  * Correct the WiFi module name to "mlan" when reloading the module.
  * Reorder suspend/resume execution steps:
    * Suspend sequence: Run script -> Stop systemd services -> Power off peripherals -> Unbind driver
    * Resume sequence: Reverse of the above.

 -- SeanHC Lin <SeanHC.Lin@moxa.com>  Wed, 01 Oct 2025 13:40:51 +0800

moxa-power-manager (1.1.0-1+deb13) trixie; urgency=medium

  [Added]
  * Added syslog output support.

  [Changed]
  * Default governor in Active mode switched from performance to schedutil to
    align with the Linux kernel 6.12 default.
  * Users can now override the governor for Active mode through configuration.

 -- SeanHC Lin <SeanHC.Lin@moxa.com>  Thu, 18 Sep 2025 14:35:36 +0800

moxa-power-manager (1.0.0-1+deb13) trixie; urgency=medium

  [Changed]
  * Migrate package to Debian 13 (trixie).
    - Introduce libgpiod instead of GPIO sysfs.

 -- SeanHC Lin <SeanHC.Lin@moxa.com>  Mon, 28 Jul 2025 11:12:15 +0800

moxa-power-manager (0.6.4-1+deb11u1) bullseye; urgency=medium

  [Changed]
  * Update the year of copyright and LICENSE

 -- Keifer CW Lee <keifercw.lee@moxa.com>  Wed, 09 Jul 2025 11:45:12 +0800

moxa-power-manager (0.6.4-1+deb11) bullseye; urgency=medium

  [Changed]
  * Adjusted the usage information to clearly indicate the power mode.

 -- SeanHC Lin <SeanHC.Lin@moxa.com>  Wed, 23 Oct 2024 10:34:53 +0800

moxa-power-manager (0.6.3-1+deb11) bullseye; urgency=medium

  [Changed]
  * Display wakeup sources only if the LAN is enabled.
  * Adjusted and fixed typos in the usage information.

 -- SeanHC Lin <SeanHC.Lin@moxa.com>  Mon, 23 Sep 2024 17:11:26 +0800

moxa-power-manager (0.6.2-1+deb11) bullseye; urgency=medium

  [Fixed]
  * Configured only if the LAN, USB, or SD card was enabled.

 -- SeanHC Lin <SeanHC.Lin@moxa.com>  Wed, 18 Sep 2024 15:19:19 +0800

moxa-power-manager (0.6.1-1+deb11) bullseye; urgency=medium

  [Fixed]
  * Set a long enough wake-up time if the user doesn't specify one to prevent
    the OS from restarting due to the watchdog.
  * Re-enable Wake on LAN in LAN settings each time the OS enters standby mode
    to ensure persistent WOL functionality.

 -- SeanHC Lin <SeanHC.Lin@moxa.com>>  Fri, 16 Aug 2024 16:14:55 +0800

moxa-power-manager (0.6.0-1+deb11) bullseye; urgency=medium

  [Added]
  * Displayed a warning message if all wake devices were disabled.

  [Changed]
  * Set the wake device list in the code; no need to describe it in the
    configuration file

  [Fixed]
  * Did not control the power pin of the SD card on the UC-3400A series.

 -- SeanHC Lin <SeanHC.Lin@moxa.com>  Mon, 05 Aug 2024 19:59:10 +0800

moxa-power-manager (0.5.0-1+deb11) bullseye; urgency=medium

  [Added]
  * Added display for scaling governor.

  [Fixed]
  * Resolved issue with obtaining WiFi information when powering on/off WiFi.
  * Corrected M2-MAYA-W2 WiFi driver power on/off sequence.
  * Fixed application crash when powering on/off the LAN.

 -- SeanHC Lin <SeanHC.Lin@moxa.com>  Wed, 17 Jul 2024 22:02:44 +0800

moxa-power-manager (0.4.0-1+deb11) bullseye; urgency=medium

  [Fixed]
  * Corrected spelling in the source code and CLI messages.
  * Checked the MPM timer status when stopping it.
  * Verified that the model has network and SD device before power-related
    operations.

 -- SeanHC Lin <SeanHC.Lin@moxa.com>  Wed, 26 Jun 2024 21:10:12 +0800

moxa-power-manager (0.3.0-1+deb11) bullseye; urgency=medium

  [Added]
  * Apply CPU governor policy of conservation mode from configuration.
  * Disable peripherals when switching power modes.

  [Changed]
  * Put the executable into the sbin directory.

  [Fixed]
  * Fix warning in src/main.c.
  * Apply WOL only to the LAN interface.

 -- SeanHC Lin <SeanHC.Lin@moxa.com>  Tue, 23 Apr 2024 16:16:38 +0800

moxa-power-manager (0.1.0+deb11) bullseye; urgency=medium

  [Added]
  * initial release

 -- SeanHC Lin <SeanHC.Lin@moxa.com>  Wed, 20 Mar 2024 11:14:56 +0800
