I just use my integrated caffeine tracker: when my hands start shaking, I've had enough to get on with my day.

streakmachine.10centuries.org.