Experienced a similar problem on Samsung Galaxy Ace 2. Try this:
1. Plug in charger and start recharging your 'phone. (If the brightness increases almost immediately, you know it's a power-saving setting that's causing the problem, which now becomes easy to rectify; no need to power off/on or...