Skip to content

0.1.2

Choose a tag to compare

@int08h int08h released this 23 Dec 23:12
· 3 commits to master since this release

New APIs

  • get_communication_state() - returns BQ4050 and IP2368 chip communication status
  • get_software_revision() - returns UPS firmware revision
  • is_battery_low() - checks if total battery voltage is below threshold
  • force_power_off() - initiates unconditional power-off in 30 seconds
  • is_power_off_pending() - checks if a power-off has been initiated

Examples

  • New force_power_off.rs example binary
  • Enhanced ups_monitor.rs with software revision, communication, and battery state