Two critical fixes for the voltage monitoring system when 4G is active
on battery power:
1. Desktop Notifications Now Working:
- Fixed D-Bus socket detection in voltage-alert-notify.sh
- Changed from non-existent 'dbus-session' file to correct socket
path /run/user/$USER_ID/bus
- Notifications now properly appear when voltage drops below 3.45V
- Added timestamp to notification message for better tracking
- Made notification message more compact and actionable
2. Voltage Monitor Stability Fixed:
- Added nohup when backgrounding monitor process in voltage-monitor-control.sh
- Prevents SIGHUP signal when parent script exits
- Monitor now remains stable and continuously detects low voltage
- Rate-limited alerts working correctly (every 30 seconds)
Testing confirmed:
- Notifications display correctly with timestamp
- Monitor survives AC connect/disconnect cycles
- Low voltage detection working (threshold: 3.45V)
- Alerts sent successfully during battery drain with 4G active
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>