4 hours to discharge? Indexing should not do this... Looks like some process hanged and was running at full blast until power drained. Happens sometimes. Activity monitor should show, which process used a lot of cpu in last 12 hours. Either kill that process or restart computer.
It is possible the computer has hardware problem, sometimes some part of the system has issues and causes this. Or it could be some software issue. Either way, if it happens again, Apple support should take this seriously and help. This is not how these devices behave normally.
It is possible the computer has hardware problem, sometimes some part of the system has issues and causes this. Or it could be some software issue. Either way, if it happens again, Apple support should take this seriously and help. This is not how these devices behave normally.