Post Reply 
[Bug] PPL can Freeze when the Battery is Critical
01-27-2021, 05:48 AM
Post: #1
[Bug] PPL can Freeze when the Battery is Critical
Yesterday, I tried to perform my own battery benchmark for the HP Prime G2. Since I don't have a robot built to replicate Edwin Reid's benchmark, I tried to replicate it using PPL.

Code:
EXPORT COUNT()
BEGIN
LOCAL C:=0;
WHILE 1 DO
 C:=C+1;
 PRINT(C);
 WAIT(1);
END;
END;

It actually worked pretty well, up until the calculator was about to die. Halfway between the 25% and 0% capacity (I assume this is when the 'Battery critically low' message would normally appear), the calculator just completely froze. The code stopped executing and the clock stopped. 2 hours later, the calculator died. I don't know what specific command it froze at, but my guess is the WAIT command is somehow the culprit since the clock stopped.

It was pretty disappointing to discover this because it completely invalidated my battery test. On the bright side, the HP Prime was at 14 hours before it froze which is pretty darn good battery life for non-stop use.

Cemetech | YouTube
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 3 Guest(s)