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

Add battery percentage & colouring #631

Closed
wants to merge 6 commits into from
Closed

Add battery percentage & colouring #631

wants to merge 6 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Aug 31, 2021

Definitely a WIP but submitting to see if there is any appetite for me to continue this work?

From what I can see it looks like each watchface would need to add the battery percentage - not sure if this is desired or if the battery icon should be reworked to include percentage functionality. Could also add the option to enable/disable in settings.

IMG_20210831_145529

@evergreen22
Copy link
Contributor

I'd rather see the battery icon change colors for different ranges in state of charge. For example, green for SOC > 75%, yellow for 50% - 74%, and red for SOC < 50%.

Adding a number to the left of icon just feels like clutter to me.

@Riksu9000
Copy link
Contributor

Riksu9000 commented Sep 1, 2021

There are people who want this and there are people like us that think its clutter. I would personally even like to replace the battery icon on the watch face entirely with a low battery notification as I don't see a reason to stress about the battery until it is time to charge.

Related issue #582

@hubmartin
Copy link
Contributor

@evergreen22 I would not suggest to use different colors for battery level. Different watchfaces use different colors and now you can choose even your own colors. This might break consistency across different watchfaces. Also red color icon is almost invisible in daylight so you would't spot that.

- Implement support for colouring battery based on percentage remaining
- Add settings entry for controlling battery colouring and display of battery percentage
- Update digital watchface to support functionality
@ghost ghost marked this pull request as ready for review September 7, 2021 21:35
@ghost
Copy link
Author

ghost commented Sep 7, 2021

I decided to implement both suggestions - I have only changed the style for the digital watch face. I did see that there were some discussion about refactoring settings for watchfaces so it might be better to revisit this after then?

I've attached some screenshots (sorry for the poor quality). Also I've fixed some casing and renamed a few things since I took them to maintain consistency with other settings pages.

IMG_20210907_223400
IMG_20210907_223332
IMG_20210907_223347

- Change case
@ghost
Copy link
Author

ghost commented Sep 20, 2021

Any interest in this PR or shall I close it?

@Avamander
Copy link
Collaborator

I think people have been plenty interested.

@Riksu9000
Copy link
Contributor

I'm not sure the colorful icon needs to be an option. For most of the range white makes sense and maybe when it's under 15% it can be red or orange. I'm sure the color can be adjusted so that it is visible in daylight. #638 would make the battery icon green only when it's fully charged.

sykomaniac added 2 commits September 22, 2021 21:39
@ghost ghost changed the title Attempt to add battery percentage Add battery percentage Sep 22, 2021
@ghost ghost changed the title Add battery percentage Add battery percentage & colouring Sep 22, 2021
@ghost
Copy link
Author

ghost commented Sep 22, 2021

Updated PR to resolve merge conflicts and add styling to analog watchface
IMG_20210922_225048

@ghost
Copy link
Author

ghost commented Sep 22, 2021

I don't plan on making any more changes to this PR unless people would like things moving/features removing. I won't update the pinetime style watchface to adhere to these settings unless its again something people want (as that watchface already has a number of style options).

Closes #582

@ghost
Copy link
Author

ghost commented Mar 11, 2022

Re-implemented this in: #1028

@Riksu9000
Copy link
Contributor

I'll close this in favor of #1028

@Riksu9000 Riksu9000 closed this Jun 7, 2022
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

Successfully merging this pull request may close these issues.

5 participants