[Ovmsdev] Badging state-of-charge

Mark Webb-Johnson mark at webb-johnson.net
Wed Apr 25 10:12:39 HKT 2012

The new GreenCharge App has an interesting feature where they use the badge icon as an indication of %SOC. The example picture below represents a 75% SOC.

It is an interesting approach, that I'm not sure if we should adopt. Hence, discussion:

I personally don't like badge icons. They scream 'attend to me! clean me up!' and my OCD kicks in ;-) I like to keep inbox=0. There would be no way to 'clear' such a badge icon.

I'm not sure if this violates Apple's user interface guidelines and/or would be enough to get rejected from the App store. More research would be needed on this.

Implementation wise, it is trivial. At the server level, if SOC != lastSOC then send a PUSH notification with a new badge number = SOC%. This would only work for non-paranoid mode cars. If we wanted this to work with paranoid-mode cars, we would need to do it at the car module level with a new message type (unencrypted SOC).

Easy to make it opt in/out - just enable/disable badge icons in the iPhone preferences (Settings/Notifications/OpenVehicles).



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20120425/690b3798/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mza_1644462664523541198.320x480-75.jpeg
Type: image/jpeg
Size: 33001 bytes
Desc: not available
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20120425/690b3798/attachment-0002.jpeg>

More information about the OvmsDev mailing list