First off, for those owners of Canon Powershot A530/A540 cameras, please see this post first, then return here if your camera is not on the advisory list.
For all other cameras that use AA batteries, are you still using alkaline batteries? If so, alkaline batteries (or worse yet "super heavy duty" batteries) just don't have the power for more than a few pics in today's digital camera. Some may even have problems just powering startup of the camera. This may be true in some cameras, even if they're brand new and straight out of the package!
For all other cameras that use AA batteries, are you still using alkaline batteries? If so, alkaline batteries (or worse yet "super heavy duty" batteries) just don't have the power for more than a few pics in today's digital camera. Some may even have problems just powering startup of the camera. This may be true in some cameras, even if they're brand new and straight out of the package!

Finally, if you're still having problems even with rechargeable batteries, you may have not set the camera's menu setting to recognize NiMH rechargeable batteries. Some camera brands (Samsung in particular) have a setting in the camera's menus to differentiate between Alkaline and NiMH batteries. If the menu is set to alkaline, the camera may in error report a low battery status with NiMH batteries. To correct the problem, merely find the page in the camera's menu to set the battery type, and reset it to rechargeable batteries.