ParentFull threadw0de0·One can think of many better ways to engineer this protection, starting with the most common: lie to the user and never discharge the last 10%, shutting down early.View on HN