That should actually go off after couple of seconds when it's unplugged. My laptops AC adapter does the same thing and i'm pretty sure that it shouldn't stay on for more than an hour if it's not plugged into anything. Have it replaced if it will stay on for more than an hour because that's not normal