画面オフ時間を表示したい

KWGTで、以下のようなウィジェットを作りたい。

制作方法を教えてください。

・画面オフ時間を表示する。


画面オフ:オン。
画面オフ時間:2分。

Hi there,

Please kindly post in English, as English is the universal language. By posting your question in English, we can understand about it and hopefully we can help you if we have the solution/answer.

Thank you.
:smiling_face::+1:

I’d like to create the following widget using KWGT.

Please tell me how to create it.

  • Display the screen off time.

Example
Screen off: On.
Screen off time: 2 minutes

Hi there,

Thank you for reposting in English. :folded_hands::smiling_face:

In regards to your question… as far as I know, there’s no function in Kustom to know how long the screen was off.

There are only these functions:

Time since last battery plugged/unplugged
$tf(bi(plugged))$

Time since last boot
$tf(df(S) - df(S, si(boot)))$

I hope this would help.

Did you find the most helpful response to your issue?
Please kindly press the :check_box_with_check: Solution button to mark it as the solution.
This would help others with the similar issue.

:smiling_face::+1:

Thank you for your reply, but it hasn’t solved my problem.

The features I’d like are as follows:

  1. Is the device currently in screen off mode?

  2. If so, how many minutes of operation must pass before the device turns off?

Hi there,

There is no screen off feature/function in Kustom (KLWP, KWGT, KLCK), as far as I know.

So, there’s no way to know how long the screen is off.

:smiling_face::+1:

This topic was automatically closed 25 days after the last reply. New replies are no longer allowed.