Battery which is used to supply downhole tools with electrical power and which is capable to sustain high temperatures and vibrations