A secondary-battery management apparatus calculates the possible discharge duration of a secondary battery correctly even after a load current changes. More specifically, the coating composition comprises organic or inorganic particles, a photocurable resin, a photoinitiator, and a compound including an olefin oxide repeating unit. At least two of the capacitors are connected to the input of a comparator, so that the influence of a constantly modifiable operational voltage and the influence of a discharge of modifiable voltage levels by the piezo element or surge generator does not affect the time function. Other embodiments are described and claimed. The second wavelength results from a secondary process induced by a primary emission of energy at a third wavelength, the third wavelength resulting from a primary process generated from the first wavelength in the crystal. When the number of defects in a Flash sector becomes large, the whole sector is remapped.