Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

13
LINES

< > BotCompany Repo | #1001789 // Show battery level as big text (Linux)

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (7536L/53K/181K).

!752

p {
  set getBattery_debug;
  set backtick_verbose;
  showBigText("Battery Level", "getLevel", 30000);
  hideConsole();
}

static S[] getLevel() {
  int level = getBattery();
  ret new S[] { level + " pc", level + "% PC Battery"};
}

download  show line numbers  debug dex  old transpilations   

Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, dhtvkmknsjym, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt

Comments [hide]

ID Author/Program Comment Date
1171 stefan TODO: The nice "Brother" font does not have a percent sign... 2015-11-16 20:05:22

add comment

Snippet ID: #1001789
Snippet name: Show battery level as big text (Linux)
Eternal ID of this version: #1001789/3
Text MD5: 7369f9ce7905aac6a57adb314e2c0fa1
Transpilation MD5: 14103d4d14f25964d7d2fccbf40445e8
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-21 14:13:34
Source code size: 252 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 1005 / 1916
Version history: 2 change(s)
Referenced in: [show references]