mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
Add battery statuses.
This commit is contained in:
parent
9dfbe8cd11
commit
fb4eedfe92
3 changed files with 5 additions and 2 deletions
|
|
@ -1 +1 @@
|
|||
0.30.5
|
||||
0.30.6
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||
- Visits page should load faster now.
|
||||
- Reverse geocoding jobs now make less database queries.
|
||||
|
||||
## Added
|
||||
- Points now support discharging and connected_not_charging battery statuses. #768
|
||||
|
||||
|
||||
# [0.30.5] - 2025-07-26
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ class Point < ApplicationRecord
|
|||
index: true
|
||||
}
|
||||
|
||||
enum :battery_status, { unknown: 0, unplugged: 1, charging: 2, full: 3, connected_not_charging: 4 }, suffix: true
|
||||
enum :battery_status, { unknown: 0, unplugged: 1, charging: 2, full: 3, connected_not_charging: 4, discharging: 5 }, suffix: true
|
||||
enum :trigger, {
|
||||
unknown: 0, background_event: 1, circular_region_event: 2, beacon_event: 3,
|
||||
report_location_message_event: 4, manual_event: 5, timer_based_event: 6,
|
||||
|
|
|
|||
Loading…
Reference in a new issue