geraldoramos / nikola

⚡Unofficial cross-platform desktop app to monitor and control Tesla vehicles, powered by Electron & React
https://nikola.site
MIT License
149 stars 43 forks source link

Request: Customize icon to show two selectable pieces of info #24

Closed bradhs closed 5 years ago

bradhs commented 5 years ago

Ability to customize icon to show two selectable pieces of info.

For example, TEMP/MILES.

geraldoramos commented 5 years ago

You mean the tray icon? I've been debating about this with other user.

Here is my response:

The application stops polling data from Tesla servers if the main window is not visible. In order to have updated data in the tray, we would need to keep polling continuously and this would prevent the car to sleep and could affect battery consumption.

Here is how it currently works:

Data updates every 10s if the main window is visible
Data updates immediately when the main window is opened.

Let me know what you think and if it makes sense.

bradhs commented 5 years ago

I see the issue, I wouldn't want my car constantly polling. Maybe a customizable polling interval in minutes? For example, I could say poll every 60 minutes. 60 minutes sounds reasonable to me.

Also, I'd not want the app to wake up my computer to poll.

geraldoramos commented 5 years ago

I will look into that, for now, it does not poll if inactive, it only makes sense to poll every 60min if we need the data for something (If it's not fresh enough, maybe the tray showing battery/miles information is not super useful).

Will think about that, thanks a lot for your feedback.