https://www.gsmarena.com/lenovo_tab_2_a7_20-8185.php
Well looking at the basic specs of your tablet, there are a couple of points that make things more difficult to get really good battery life.
-- Your Tab is around 4 years old now, so just physically your battery has aged to the point where at least some if not a lot of its original capacity is gone. If you've been judiciously charging and caring for the battery the entire time, or if you've instead used it harshly and ran your tablet until the battery was drained every day, the issue that the battery is now dated is an unavoidable matter.
-- Apparently your Tab is running KitKat or perhaps upgraded to Lollipop. Those versions of Android had some power management but it really wasn't until Marshmallow that battery life optimizing became much more sophisticated. You can do basic things like turn down the overall screen brightness, disable or uninstall less useful screen animations and/or widgets, and reduce the auto-updating times of some of your apps (i.e. social media apps to check for new messages down from every few minutes to a longer period of time), but keep in mind all those things also diminish the overall usefulness of your tablet too. At that point you need to weigh the need to make the battery last longer vs. making your tablet less functional for you.
But getting back to your actual query, you might want to try replacing the battery. The iFixit site has a guide on how to do it:
https://www.ifixit.com/Guide/Lenovo+Tab+2+A7-20F+Battery+Replacement/99615
Just note that as you're shopping around for a battery for your model, the odds are the battery you're going to buy will be just as dated as your current one. There's no magic factory somewhere that manufactures every type of battery for every mobile device ever made. For some really popular models it's still cost-effective to continue making batteries for those particular models, but for most devices when you buy an aftermarket battery made for a dated, less common model, it's been sitting in storage unattended. An older battery that has not been charged at least every year or so will age prematurely and more prone to failing sooner rather than later. So replacing the battery is an option, just not an optimal one. If you're going to spend money on your Tab, you might want to give serious thought into just buying a new or at least newer model.
Another option you might want to think about is getting an external battery pack. If you take your tablet outside of your home a lot this might not be a good option (if you have to carry around a lot of external devices with your tablet to use it, you might be better off just getting a laptop) but if not, it's not ideal to always being running your tablet off of an external battery but it is a stopgap option, plus you can keep using an external battery with other devices and/or a replacement whenever you need to. Just get focus on getting a higher capacity one, tablets require more power than phones.
https://thewirecutter.com/reviews/best-usb-battery-packs/