The brain is working anyway, when you sleep. This just directs it a bit.
When you whip a horse, it runs faster too. Caffeine is like whipping your heart. IMHO the long-term consequences of caffeine consumption do not outweigh the short-term gains.
Also, green tea (sencha anyone?) is healthier.
I also think that if you lack energy, you should rather "debug" your lifestyle.