This sounds similar to a problem that I had with my 1995 terrano. After it had sat in hot sun for a week the alternator and battery lights stayed on for a while but after driving for 5 minutes I heard a clicking sound, most likely from a relay switch under the dash near the fuses and the lights went off. Since then I have taken these relay switches apart and cleaned the switching contacts and haven't had a problem since.
Sent from my SM-G900I using Tapatalk