If your laptop battery doesn’t work without the plugin, then there must be a problem with your battery. The battery might have drained out, dead, or became less durable. In this case, you might have to try to charge it with a new charger, if it still behaves the same, then you must take your laptop repair service and repair the battery or buy a new one.