Batteries in a Tamagotchi vary by model and era. There are three different major types of batteries that they take, and different models of Tamagotchi have ways of warning the user when their battery is low. It is recommended to not use mixed brands of batteries, or old and new batteries...
tamagotchi.fandom.com