If your Dell Inspiron 7568 has a shorter battery life, only works when it is plugged in or isn't charging, then your battery may need to be replaced. The battery supplies power to the laptop.
By following the steps in this guide one should, you will be able to replace the battery on the device (Dell Inspiron 7568).