Those with an in-line are designed to work WITH the battery. Made to unplug, and have the battery run your atomizer should you need to leave your computer (dumb design).
If you want it to run at 5v, without a battery, you have to mod it with a jumper. Someone had info. in a thread about that a while ago.