If you have e.g. a Garmin GPS device, it will record your trace. It also has the possibility to create waypoints. You can add any text as description of a waypoint. So that could be the bike number and battery status.
OsmAnd, a smartphone application, has similar capabilities.

The data should never be sent to the OSM servers, as it does not really belong in that database.