Last question today, I promise. I need help with this formula:
OK, I've rewritten this a dozen times at least and can't get it to work:
$if(bi(charging)="1" (bi(fast)="0", "#FF00FF77", "#FF00E7FF") bi(charging)="0" (bi(level)>50, "#FFFFFFFF", bi(level)>25, "#FFFF8B00", "#FFFF0000"))$
Or:
$if(bi(charging)="1" & bi(fast)="0", "#FF00FF77", "#FF00E7FF" | bi(charging)="0" & bi(level)>50, "#FFFFFFFF", bi(level)>25, "#FFFF8B00", "#FFFF0000")$
Basically what I'm trying to do is:
If Charging --->
If Fast Charging = Color A
If not Fast Charging =Color B
If Not Charging --->
Battery Level >50 = Color C
Battery Level <50, >25 = Color D
Battery Level <25 = Color E
I've tried everything I can think of, but I'm a noob and I actually don't know what I'm doing. Somebody please help me.
Posted Nov 4, 2022, 1:33 AM UTC
34