Nissan Versa - battery keeps going dead with good alternator and starter

The battery light doesn’t work it comes on with all the other dash lights when I turn the ignition but doesn’t warn me when the battery is dying so what does that mean