That's what bateries do, they drain. All we can do is regulate how much we load the battery in hopes that they drain a bit slower.
Not knowing what devices you are talking about or whether this is a new problem or not, the easiest thing to do is boot into the safe mode and see how the device acts. The Safe mode boots the device into the same state as when it was new, before you added any apps to it. If the battery seems to last longer in Safe mode then it's a matter of trial and error to find out which app or apps that you installed are adversly affecting the device.
To boot into Safe mode: