-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New "battery_ok" event type reason to mirror "low_battery" #210
Comments
Makes sense to me. I would probably rename |
When the battery of a device is too low, the service yields the `unavailable` event type with the `low_battery` reason. Then the device may charge itself (for example because it has been plugged to a charging dock by the last customer, or because the device has a solar panel). Once the battery is charged enough, the service can yield an `available` event type with the `battery_charged` reason. [closes openmobilityfoundation#210]
When the battery of a device is too low, the service yields the `unavailable` event type with the `low_battery` reason. Then the device may charge itself (for example because it has been plugged to a charging dock by the last customer, or because the device has a solar panel). Once the battery is charged enough, the service can yield an `available` event type with the `battery_charged` reason. [closes openmobilityfoundation#210]
When the battery of a device is too low, the service yields the `unavailable` event type with the `low_battery` reason. Then the device may charge itself (for example because it has been plugged to a charging dock by the last customer, or because the device has a solar panel). Once the battery is charged enough, the service can yield an `available` event type with the `battery_charged` reason. [closes openmobilityfoundation#210]
I created #237, using As for renaming [*] More generally (and this is going off-topic), I think that a proper, manually edited changelog would help everyone migrate from one version to another. I reckon that it's a bit of additional work, especially in these early days of the specs when things move a lot. But it would be much more convenient and reliable than reviewing each commit, which are not always easy to follow. The update of this changelog could very well be a requirement for each pull request, shifting the burden on the authors themselves instead of the editors/maintainers. |
When the battery of a device is too low, the service yields the `unavailable` event type with the `low_battery` reason. Then the device may charge itself (for example because it has been plugged to a charging dock by the last customer, or because the device has a solar panel). Once the battery is charged enough, the service can yield an `available` event type with the `battery_charged` reason. [closes openmobilityfoundation#210]
I think this is what we're trying to capture in the Release Notes and ReleaseNotes.md but agreed the process could be better for everyone. See ReleaseGuidelines.md and please suggest any improvements you can think of. |
Context: I am working on an implementation of MDS for BlueLA, a station-based electric car sharing service in Los Angeles. The suggestion below would apply there and also for any service where devices can autonomously recharge their battery on docks (charge points).
When a customer returns a device to a dock, the battery of the device may be too low for the device to be available for another customer. The service then yields an
unavailable
event type with thelow_battery
reason. That part is fine. Then the device charges itself at the dock (without needing any human interaction). When it's done, the device becomes available again. I think that themaintenance_drop_off
event type reason is not appropriate here, because there is no (human) maintenance per se. I hence suggest a newbattery_ok
event type reason for theavailable
event type.If this sounds reasonable, I'll happily write a pull request.
This is related to #77, albeit different.
The text was updated successfully, but these errors were encountered: