-
- Administrator
-
-
Support Ukraine
If you experience any problems with the forum (it is not visible, there is no way to post messages, or some functionality does not work), please let us know. If you have problems with registration or you did not receive confirmation letter, let us know and we will activate your account manually.
If you get an "The submitted form was invalid. Try submitting again" error, delete cookies, then try again.
Show battery icon when reaching X percentage
Forum rules
When adding a new topic, use the template: Topic title [device name]
For example: How to create watch face [GTR 3 Pro]
All communication in this branch should only be in English.
When adding a new topic, use the template: Topic title [device name]
For example: How to create watch face [GTR 3 Pro]
All communication in this branch should only be in English.
Show battery icon when reaching X percentage
Hello, I wanted to know if there is an option within Watch Face Editor to show an icon when it reaches a certain battery percentage, for example 10%, and when it reaches that percentage it shows you the icon that you add in a corner. Thank you!
Hi, thank you very much for the answer. Where should I do this? Until now I was only adding elements within the program, such as the time, but I don't see where to add lines of code.
Hello, you have to create a folder for a user script. Then you put the file with the script inside the folder. The program should find itself a way to it. If you're inexperienced, i would choose the first option with the ten pictures.Adn.13 wrote: 07 Nov 2024, 08:29Hi, thank you very much for the answer. Where should I do this? Until now I was only adding elements ....
Sorry, I hadn't seen that there were 2 options. Regarding the first option, in which section is it done, because I haven't seen any place where I can specify the battery percentage.
- SashaCX75
- Posts: 814
- Joined: 26 Oct 2019, 15:18
- Location: Ukraine
- Has thanked: 13 times
- Been thanked: 1009 times
- Contact:
Unfortunately this is not entirely true. Not always the first picture will be shown exactly up to 10%. Algorithm of displaying pictures varies on different models and firmware. This method is the simplest, but it does not guarantee that the picture will appear exactly at 10%.For the 10th you'll create a corner, which will show when a certain percentage is reached.
I got it now, in the end I had to add 20 images to show me the icon when it goes below 10%, that is, it shows it when it reaches 9%. And the first image of those 20 is the one that really has to have the icon and the rest are transparent images. Thanks a lot for the help!
-
wongkamfei
- WF maker
- Posts: 10
- Joined: 24 Aug 2019, 10:56
- Location: Penang,Malaysia
- Has thanked: 6 times
- Been thanked: 5 times
- Contact:
I study this before and got the answer from Amazfit China team, actually if we want to use picture to show the battery status, we need 10 picture and another one as battery blackground picture. The background picture is to indicate battery status from 0~4%, than the 1st picture is 5~14%, 2nd picture is 15~24%.....and so on.SashaCX75 wrote: 08 Nov 2024, 17:59Unfortunately this is not entirely true. Not always the first picture will be shown exactly up to 10%. Algorithm of displaying pictures varies on different models and firmware. This method is the simplest, but it does not guarantee that the picture will appear exactly at 10%.For the 10th you'll create a corner, which will show when a certain percentage is reached.
- SashaCX75
- Posts: 814
- Joined: 26 Oct 2019, 15:18
- Location: Ukraine
- Has thanked: 13 times
- Been thanked: 1009 times
- Contact:
@wongkamfei
That's what I was talking about. The image will not appear exactly at 10%. The algorithm used to be different and the image would change at 10%, but now the algorithm has changed.
That's what I was talking about. The image will not appear exactly at 10%. The algorithm used to be different and the image would change at 10%, but now the algorithm has changed.
Who is online
Users browsing this forum: No registered users and 1 guest