I noticed my phone doing this same thing last night. I would use it, then turn it off...screen goes black for 1 second then right back on and fades away. I'm trying to remember if it was only while plugged in, or if it was while unplugged as well.
I also have a problem with it lighting up...