There is something with the Electron Design that sometimes causes the Electron to Die and only show the dim blue LED of death if the battery is allowed to drain completely.
The battery draining completely should not kill an Electron in my opinion but it happens to some for some unknown reason.
The only way I know to stop it is to run code that puts the Electron into deep sleep mode while the battery SOC level drops below a certain preset level and then resumes normal operation when the battery is recharged via USB, or any voltage input like solar, up past the preset SOC level.
Personally, I chose 20% SOC as the point where I put the Electron to sleep and then wake up every hour to see if the battery has charged above 20% SOC. I can do this for a week or 2 before the battery goes completely dead.
I would file an issue with support and see what they say. They may want to see and test your Electron since they are looking for what causes this to happen.