mirror of
https://github.com/reactos/reactos.git
synced 2025-04-10 07:46:32 +00:00

Short answer: our UI sucks bolas rojas. Long answer: when the NT kernel informs the user-mode part of the system that the battery is no longer charging, the machine is directly powered up by the AC adapter. This is understood by determining the presence of AC_LINE_ONLINE status bit in ACLineStatus member field, which is a Windows API construct. In the NT world this is understood by checking the power state returned by the BATTERY_STATUS structure. What's happening right now is that when the battery is fully charged, ROS UI simply displays "100% remaining" implying the battery is about to discharge, which is not the case. This is extremely confusing to the user. AND WORST PART IS THAT IT'S XP/2003 DESIGN, AND I HATE IT UGGGHHH. With this patch we're leaning towards Windows 10/11 way of informing the user the battery is fully charged. VIVA LA NT6! CORE-18969 CORE-19452
52 lines
2.1 KiB
Text
52 lines
2.1 KiB
Text
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
|
|
IDD_POWER_METER DIALOGEX 0, 0, 252, 218
|
|
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
EXSTYLE WS_EX_CONTEXTHELP
|
|
CAPTION "Power Meter"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
CONTROL "Power status", 1001, "Button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 9, 20, 234, 189
|
|
CONTROL "&Always show icon on the taskbar.", 1002, "Button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 6, 6, 120, 10
|
|
CONTROL "Show details for each &battery.", 1003, "Button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 135, 6, 120, 8
|
|
CONTROL "", 1000, "Static", SS_LEFT | WS_CHILD | WS_GROUP, 11, 29, 229, 178
|
|
END
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
//Power related strings
|
|
IDS_PWR_PROPERTIES "&Adjust Power Properties"
|
|
IDS_PWR_METER "&Open Power Meter"
|
|
IDS_PWR_RUN "shell32.dll,Control_RunDLL PowerCfg.cpl"
|
|
IDS_PWR_PERCENT_REMAINING "%u%% remaining"
|
|
IDS_PWR_CHARGING "%u%% and charging"
|
|
IDS_PWR_UNKNOWN_REMAINING "Unknown remaining"
|
|
IDS_PWR_AC "On AC power"
|
|
IDS_PWR_HOURS_REMAINING "%1!u!:%2!02u! hours (%3!u!%%) remaining"
|
|
IDS_PWR_MINUTES_REMAINING "%1!u! min (%2!u!%%) remaining"
|
|
IDS_PWR_FULLY_CHARGED "100% Fully charged"
|
|
|
|
//Hotplug related strings
|
|
IDS_HOTPLUG_REMOVE_1 "Safely Remove Hardware"
|
|
IDS_HOTPLUG_REMOVE_2 "&Safely Remove Hardware"
|
|
IDS_HOTPLUG_REMOVE_3 "Safely remove %s"
|
|
IDS_HOTPLUG_RUN "shell32.dll,Control_RunDLL hotplug.dll"
|
|
IDS_HOTPLUG_COMMA ", "
|
|
IDS_HOTPLUG_DRIVE " - Drive(%s)"
|
|
IDS_HOTPLUG_DRIVES " - Drives(%s)"
|
|
IDS_HOTPLUG_A "A:"
|
|
IDS_HOTPLUG_REQUIRES "This hardware requires ""Safe Removal"""
|
|
IDS_HOTPLUG_CLICK "Before removing this hardware, click on this icon and select the hardware you want to remove."
|
|
|
|
//Volume related strings
|
|
IDS_VOL_VOLUME "Volume"
|
|
IDS_VOL_ADJUST "&Adjust Audio Properties"
|
|
IDS_VOL_OPEN "&Open Volume Control"
|
|
IDS_VOL_RUN "SNDVOL32.EXE"
|
|
IDS_VOL_MUTED "Volume (muted)"
|
|
|
|
//Keyboard-Mouse related strings
|
|
IDS_KEYS_STICKY "StickyKeys"
|
|
IDS_KEYS_MOUSE "MouseKeys"
|
|
IDS_KEYS_FILTER "FilterKeys"
|
|
END
|