To make the battery icon show the remaining time or the percentage, you need to follow the aforementioned guide. If the Value data of the EnergyEstimationEnabled is set to 0, you cannot find the details while hovering your mouse. That is why you need to open the aforementioned path and change the Value data from 0 to 1.