For this task add user configuration option to toggle the use of icons that have the charging symbol on them when the AC power is connected.
The structure is a list of icons and the max power required to show that icon. You can check the vertical icon handling code to see how to implement for other icons.
local function discharging_battery_icon_for_percent(p)
In battery.lua you will find
local charging_battery_icons
For this task add user configuration option to toggle the use of icons that have the charging symbol on them when the AC power is connected.
The structure is a list of icons and the max power required to show that icon. You can check the vertical icon handling code to see how to implement for other icons.