Why is my vacuum cleaner's green light always on?
When the dirt sensor light stays green constantly, a wiring failure or a failed dirt sensor control board could be preventing the dirt sensing system from detecting debris flowing into the vacuum cleaner bag.
Unplug the vacuum cleaner and check the wiring connections between the dirt sensor eyes and the dirt sensor control board. Reconnect any loose wires and repair any broken wires.
If the wiring is okay, you'll likely need to replace the dirt sensor control board because it isn't detecting dirt signals from the sensor eyes.
These repairs may help solve your upright-vacuum problem

Replace the vacuum dirt sensor control board
The dirt sensor control board receives signals from the dirt sensor and sends signals to the dirt sensor display. Replace the dirt sensor control board if it doesn't properly detect dirt sensor signals or doesn't send display signals to the dirt sensor display.