Sounds like the vibes from the bike were causing the batteries to loose their connections with the terminals. I had a similar problem with a Garmin ETREX and fixed it with some paper "spacers" to hold the batteries tighter.
2004 Suzuki DL650 Weestrom
1978 GS 1000
"Those who would trade security for a little temporary safety deserve neither liberty nor safety."