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

Feature request: only show data usage over metered connections #34

Open
Flimm opened this issue Feb 24, 2022 · 4 comments
Open

Feature request: only show data usage over metered connections #34

Flimm opened this issue Feb 24, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Flimm
Copy link

Flimm commented Feb 24, 2022

Is there a way to show data usage, only counting data used over metered connections?

In GNOME, it's possible to mark certain connections as metered connections. It would be useful to know how much data has been consumed so as to keep an eye on costs.

@noroadsleft000
Copy link
Owner

@Flimm
I hope you have tried the extension. Right now it displays data consumed for each interface separately.
You can control what to show in status bar from settings.
data_used

We didn't understand your requirement. Can you give an example, or may point to some software where similar feature is there.

@Flimm
Copy link
Author

Flimm commented Mar 1, 2022

Thanks. I'm not looking for data consumed per connection (Ethernot, Wi-Fi, etc). Rather, I'm interested in seeing how much data has been consumed over metered connections.

When connecting to a Wi-Fi network, GNOME allows me to indicate if that connection is a metered connection or not. See this screenshot:

Screenshot

It would be very useful for the indicator to show me how much data has been consumed today over metered connections, so that I can tell if I am about to run out, and estimate how much money I am spending.

@noroadsleft000
Copy link
Owner

@Flimm Thanks for the clarity. I will add it to Todo list.

@noroadsleft000 noroadsleft000 self-assigned this Mar 5, 2022
@noroadsleft000 noroadsleft000 added the enhancement New feature or request label Mar 5, 2022
@noroadsleft000
Copy link
Owner

1.) get the metered status of the current connection via D-Bus.
busctl get-property org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager Metered

2.) Gnome API to watch for metered connection. here

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

No branches or pull requests

2 participants