Alert Time Pop Up

How can i configure the hotspot to ALERT users once their uptime limit is below 5minutes? and an option for them to recharge or add additional credit unit to the existing one before the hotspot log them Out.

Anybody??