Battery life can be a real spoiler for a lot of digital cameras, specifically for those without a separate optical view finder, such as most compact cameras or the newer mirrorless cameras. The problem is you need a fair bit of power to light up the LCD screen on the back. Especially to get it bright enough to read in ambient light. A few mirrorless cameras offer a view finder with a tiny LCD screen. My experience was these has been mixed, the earlier versions of such systems where very “laggy” and not so clear but the technology has improved a lot and perhaps also the power consumption. However with one of these cameras it is pretty likely you battery will run out at a crucial stage. The solution is a spare battery in your camera case
Owners of the traditional DSLR, with the mirror that has to flip up, generally get much better battery life. I changed the battery today after 83 days and 2643 photos taken (but I have taken only a few flash photos). I always take a photo of the discharged battery when changing batteries as a easy way to keep track of my battery rotation (and likelihood of being low on stored energy). I must admit I probably only consult the LCD screen on the camera occasionally, usually on the first few shots in a new location/lighting. Evidently moving the mirror must take a lot less energy that lighting the screen.
It doesn’t matter which sort of camera you have
Buy yourself a second battery for your camera and keep it fully charged and in you camera bag.