elementary / elementary/panel-power

Charge indicator should disappear if no battery is present

Open
#114 12 comments 1 reaction 0 assignees View on GitHub
Dominant language
Vala
Stars
28
Forks
16
Avg merge
3h 26m
Merged PRs (30d)
3

Description

The following scenario:

I am connected to my laptop's power supply.
However, to quickly move the laptop to another room, I insert the battery.
Once in the other room, I no longer need the battery and reconnect the AC adapter.
When I now remove the battery, the charge indicator (and because I selected it that way, the percentage indicator) is always displayed.

![Screenshot](https://user-images.githubusercontent.com/46536067/63209025-f4445300-c0db-11e9-817d-a781d3b5916d.png)

My expectation would be that wingpanel-indicator-power would automatically recognize which power supply is currently being used and then only display the appropriate icons/indicators.

Is this somehow possible?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/78900837-charge-indicator-should-disappear-if-no-battery-is-present?utm_campaign=plugin&utm_content=tracker%2F60466177&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F60466177&utm_medium=issues&utm_source=github).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.