Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Charge indicator should disappear if no battery is present #114

Open
4jNsY6fCVqZv opened this issue Aug 17, 2019 · 12 comments
Open

Charge indicator should disappear if no battery is present #114

4jNsY6fCVqZv opened this issue Aug 17, 2019 · 12 comments

Comments

@4jNsY6fCVqZv
Copy link

4jNsY6fCVqZv commented Aug 17, 2019

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

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! We accept bounties via Bountysource.

@4jNsY6fCVqZv 4jNsY6fCVqZv changed the title When I remove the battery, I want the charge indicator to disappear Charge indicator should disappear if no battery is present Aug 17, 2019
@quequotion
Copy link

Do you have other battery powered accessories?

@4jNsY6fCVqZv
Copy link
Author

4jNsY6fCVqZv commented Jan 3, 2020

Hi, thanks for your feedback!
What does "other battery powered accessories" include for you?
And why could this be relevant to my issue?

@quequotion
Copy link

quequotion commented Jan 3, 2020

Accessories powered by batteries.

Is there anything with its own battery attached to your computer, wirelessly or otherwise? The indicator also appears to show their power levels (on click).

@4jNsY6fCVqZv
Copy link
Author

Thanks for your clarification!
No, there are no other battery powered accessories or devices.

@4jNsY6fCVqZv
Copy link
Author

@quequotion The issue is still present. Could you imagine to work on a solution?

@quequotion
Copy link

@quequotion The issue is still present. Could you imagine to work on a solution?

I'm not a developer of this indicator. I asked earlier just to get information in hope this was a bug that could be fixed, but I suspect it is a design issue. I haven't really looked at the code, but my impression is that the indicator always uses the same icon, regardless of power source or charge level.

@neofight78
Copy link

neofight78 commented Jul 16, 2020

Battery indicator showing on my desktop machine, no battery powered peripherals either.

@tintou
Copy link
Member

tintou commented Jul 18, 2020

The battery indicator is only visible on two conditions:

  • You have a controllable screen backlight
  • You have a battery-powered device (a laptop, an attached mouse, a connected bluetooth device)

If none of these conditions are matched and you still have the indicator that's either a software or a hardware issue.

@4jNsY6fCVqZv
Copy link
Author

4jNsY6fCVqZv commented Jul 18, 2020

Software in this case would be everything that is installed on a standard elementary OS system, right?

I have not connected a controllable screen backlight or other battery-powered devices.

As described above, I am looking for the reason why indicator power does not visually reflect the change if a battery was previously connected and then removed.

@tintou What is your explanation for the screenshot I attached to my issue? And how could a solution look like?

@quequotion
Copy link

why indicator power does not visually reflect the change if a battery was previously connected and then removed.

Sounds like you are asking not why the indicator is visible, but rather why it doesn't turn into a plug symbol.

The case for the latter is that it just doesn't.

If it's visible, it looks like a battery.

@4jNsY6fCVqZv
Copy link
Author

Sounds like you are asking not why the indicator is visible, but rather why it doesn't turn into a plug symbol.

These are both relevant questions for me.
I would expect the battery symbol to disappear as soon as I remove the battery.
However, should a symbol be displayed at any time, I would suggest offering a separate symbol for devices that are connected to a power supply with an AC adapter.

@4jNsY6fCVqZv
Copy link
Author

@davidmhewitt could you imagine to solve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants