What does the underlined part of the battery icon on an iPhone mean? Why is it dangerous?

Since iOS 11.2, the underlined battery icon appears in the right corner of the iPhone screen. However, not everyone pays attention to this detail and knows its meaning and function.