Ich habe ein HTC Desire. Wenn ich das Ladegerät bei ausgeschaltetem Bildschirm an mein Telefon anschließe, schaltet es den Bildschirm immer wieder ein. Nachts stört das etwas.
Ist es möglich, Android so zu konfigurieren, dass der Bildschirm ausgeschaltet bleibt und der Ladevorgang nur über die Lade-LED angezeigt wird?
SnooZy Charger kümmert sich darum. Die kostenlose App (wie in Bier und Sprache ), mit der Sie das Verhalten beim Anschließen und Trennen des Ladegeräts verwalten können.
Es erfordert keine Berechtigungen, aber Sie müssen ihm die Geräteadministratorberechtigungen erteilen. Diese Berechtigungen werden nur verwendet, um das Sperren von Geräten zu steuern, wie im Quellcode verifizierbar ist . Wenn man den Quellcode der App schnell durchgeht, sieht es völlig harmlos und gutartig aus.
Wenn sich die App nicht wie gewünscht verhält, gehen Sie unbedingt die Einstellungen durch. Beispielsweise ist „Bildschirm nur bei Sperrung ausschalten“ standardmäßig aktiviert. Das bedeutet, dass die App nicht wirksam wird, wenn Sie eine Ein-/Aus-Tastendruck-Sperre-Verzögerung oder andere verwandte Einstellungen haben.
Es funktioniert perfekt für mich auf einem kabellosen Ladepad und mit einem Micro-USB-Kabel mit einem LG Nexus 4-Gerät. Ich bin sehr zufrieden.
Ich habe hier auch zusätzliche Probleme dokumentiert .
Hast du zufällig aktiviert Settings > Application > Development > Stay Awake (screen will never sleep when charging)
?
Soweit ich sehen kann, besteht die einzige Möglichkeit, dieses Verhalten zu archivieren, darin, von Standard-Android zu CyanogenMod zu wechseln - das diese Funktion integriert hat (unter "Display & Lights"-Menü in den Einstellungen deaktivieren Sie die Option "Wake on Plug" )
Ich suche auch nach einer Lösung für Standard-Android, aber das scheint der einzige Weg zu sein. Schade, dass man nur für dieses Feature das ROM ändern muss.
Wenn Sie das Xposed, All My...- Modul installieren, verfügt es über eine Option, um zu verhindern, dass der Bildschirm aktiviert wird, wenn es an ein Ladegerät angeschlossen wird.
Mir ist klar, dass dies vor einiger Zeit gefragt wurde, aber da dies immer noch zuerst in Google auftaucht, wenn Sie nach dem Deaktivieren des farbigen Bildschirms beim Laden eines Samsung-Geräts suchen, hier die aktualisierte Antwort: Im Einstellungsmenü unter Anzeige> Bildschirmschoner können Sie den auswählen Bildschirmschoner, der angezeigt wird, während das Gerät geladen wird. Stellen Sie dies einfach auf "keine".
Es gibt eine App von mitskiP namens Screen Stay Off . Ich benutze es seit einem Jahr und es funktioniert gut. Mein einziger Kritikpunkt ist, dass der Bildschirm kurz angeht und dann ausgeht.
Versuchen Sie, diese beiden in Harmonie zu verwenden:
Es hat für mich funktioniert.
Wenn der „Umgebungsmodus“ aktiviert ist, wird der Bildschirm während des Ladevorgangs eingeschaltet, auch wenn die Option „Einstellungen > Anwendung > Entwicklung > Wach bleiben (Bildschirm wird beim Laden nie schlafen)“ deaktiviert ist.
Sie müssen auch den "Umgebungsmodus" ausschalten.
Ich würde nicht vorschlagen, nur dafür weitere Anwendungen zu installieren, während Sie den Trick direkt von Android aus ausführen können.
Ich habe ein Tasker-Profil erstellt. Es funktioniert, indem es auf eine Statusänderung wartet und dann den Bildschirmstatus auf den Zustand vor dieser Änderung zurücksetzt.
Hier ist die Kopie meines Screen.prj.xml
Profils:
<TaskerData sr="" dvi="1" tv="6.0.10">
<Profile sr="prof42" ve="2">
<cdate>1658764422437</cdate>
<edate>1658770109384</edate>
<flags>8</flags>
<id>42</id>
<mid0>41</mid0>
<nme>POWER UNPLUGGED</nme>
<Share sr="Share">
<b>false</b>
<d>When you unplug your phone from a power source, have your screen automatically lock itself.</d>
<g>Basics,Display,Security</g>
<p>true</p>
<t></t>
</Share>
<State sr="con0" ve="2">
<code>10</code>
<pin>true</pin>
<Int sr="arg0" val="0"/>
</State>
</Profile>
<Profile sr="prof47" ve="2">
<cdate>1658765139741</cdate>
<clp>true</clp>
<edate>1658770063039</edate>
<flags>8</flags>
<id>47</id>
<mid0>48</mid0>
<nme>DISP ON</nme>
<Event sr="con0" ve="2">
<code>208</code>
</Event>
</Profile>
<Profile sr="prof49" ve="2">
<cdate>1658765984104</cdate>
<clp>true</clp>
<edate>1658770076363</edate>
<flags>8</flags>
<id>49</id>
<mid0>50</mid0>
<nme>DISP OFF</nme>
<Event sr="con0" ve="2">
<code>210</code>
</Event>
</Profile>
<Profile sr="prof51" ve="2">
<cdate>1658764422437</cdate>
<clp>true</clp>
<edate>1658770092328</edate>
<flags>8</flags>
<id>51</id>
<mid0>52</mid0>
<nme>POWER PLUGGED</nme>
<Share sr="Share">
<b>false</b>
<d>When you plug your phone in leave screen on/off state alone. (Will revert screen state after android toggles it).</d>
<g>Display,Power</g>
<p>true</p>
<t></t>
</Share>
<State sr="con0" ve="2">
<code>10</code>
<Int sr="arg0" val="0"/>
</State>
</Profile>
<Project sr="proj0" ve="2">
<cdate>1658764409345</cdate>
<name>SCREEN</name>
<pids>47,42,49,51</pids>
<tids>46,50,41,48,52</tids>
<Share sr="Share">
<b>false</b>
<d>Revert or maintain screen on/off state after power plugged in or out.</d>
<g>Display,Power</g>
<p>true</p>
<t></t>
</Share>
</Project>
<Task sr="task41">
<cdate>1650476952536</cdate>
<edate>1658769236054</edate>
<id>41</id>
<pri>100</pri>
<Action sr="act0" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%STARTED</Str>
<Str sr="arg1" ve="3">%TIMES</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="3"/>
<Int sr="arg6" val="1"/>
<ConditionList sr="if">
<bool0>And</bool0>
<Condition sr="c0" ve="3">
<lhs>%STARTED</lhs>
<op>13</op>
<rhs></rhs>
</Condition>
<Condition sr="c1" ve="3">
<lhs>%SCREEN</lhs>
<op>2</op>
<rhs>on</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act1" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%UPTIME</Str>
<Str sr="arg1" ve="3">%TIMES-%STARTED</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="1"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="3"/>
<Int sr="arg6" val="1"/>
</Action>
<Action sr="act2" ve="7">
<code>548</code>
<on>false</on>
<Str sr="arg0" ve="3">%UPTIME</Str>
<Int sr="arg1" val="0"/>
<Str sr="arg10" ve="3"/>
<Int sr="arg11" val="1"/>
<Int sr="arg12" val="0"/>
<Str sr="arg13" ve="3"/>
<Int sr="arg14" val="0"/>
<Int sr="arg2" val="0"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Int sr="arg9" val="1"/>
</Action>
<Action sr="act3" ve="7">
<code>248</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="1"/>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%UPTIME</lhs>
<op>6</op>
<rhs>1</rhs>
</Condition>
</ConditionList>
</Action>
</Task>
<Task sr="task46">
<cdate>1658764707914</cdate>
<edate>1658765118823</edate>
<id>46</id>
<nme>Dont Screen On On Power</nme>
<Action sr="act0" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">%SCREEN</Str>
<Int sr="arg1" val="0"/>
<Str sr="arg10" ve="3"/>
<Int sr="arg11" val="1"/>
<Int sr="arg12" val="0"/>
<Str sr="arg13" ve="3"/>
<Int sr="arg14" val="0"/>
<Int sr="arg2" val="0"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Int sr="arg9" val="1"/>
</Action>
<Action sr="act1" ve="7">
<code>248</code>
<on>false</on>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="0"/>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%SCREEN</lhs>
<op>2</op>
<rhs>off</rhs>
</Condition>
</ConditionList>
</Action>
</Task>
<Task sr="task48">
<cdate>1658765152954</cdate>
<edate>1658767756538</edate>
<id>48</id>
<nme>Display Uptime</nme>
<pri>6</pri>
<Action sr="act0" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%STARTED</Str>
<Str sr="arg1" ve="3">%TIMES</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="3"/>
<Int sr="arg6" val="1"/>
</Action>
<Action sr="act1" ve="7">
<code>548</code>
<on>false</on>
<Str sr="arg0" ve="3">started %STARTED</Str>
<Int sr="arg1" val="0"/>
<Str sr="arg10" ve="3"/>
<Int sr="arg11" val="1"/>
<Int sr="arg12" val="0"/>
<Str sr="arg13" ve="3"/>
<Int sr="arg14" val="0"/>
<Int sr="arg2" val="0"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Int sr="arg9" val="1"/>
</Action>
<Action sr="act2" ve="7">
<code>549</code>
<Str sr="arg0" ve="3">%STOPPED</Str>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
</Task>
<Task sr="task50">
<cdate>1658766071199</cdate>
<edate>1658769148172</edate>
<id>50</id>
<nme>Reset Screen Uptime</nme>
<pri>6</pri>
<Action sr="act0" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%STOPPED</Str>
<Str sr="arg1" ve="3">%TIMES</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="3"/>
<Int sr="arg6" val="1"/>
</Action>
<Action sr="act1" ve="7">
<code>548</code>
<on>false</on>
<Str sr="arg0" ve="3">Stopped %STOPPED</Str>
<Int sr="arg1" val="0"/>
<Str sr="arg10" ve="3"/>
<Int sr="arg11" val="1"/>
<Int sr="arg12" val="0"/>
<Str sr="arg13" ve="3"/>
<Int sr="arg14" val="0"/>
<Int sr="arg2" val="0"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Int sr="arg9" val="1"/>
</Action>
<Action sr="act2" ve="7">
<code>547</code>
<on>false</on>
<Str sr="arg0" ve="3">%UPTIME</Str>
<Str sr="arg1" ve="3">0</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="3"/>
<Int sr="arg6" val="1"/>
</Action>
<Action sr="act3" ve="7">
<code>549</code>
<Str sr="arg0" ve="3">%STARTED</Str>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
</Task>
<Task sr="task52">
<cdate>1650476952536</cdate>
<edate>1658769822832</edate>
<id>52</id>
<pri>100</pri>
<Action sr="act0" ve="7">
<code>548</code>
<on>false</on>
<Str sr="arg0" ve="3">%STOPPED</Str>
<Int sr="arg1" val="0"/>
<Str sr="arg10" ve="3"/>
<Int sr="arg11" val="1"/>
<Int sr="arg12" val="0"/>
<Str sr="arg13" ve="3"/>
<Int sr="arg14" val="0"/>
<Int sr="arg2" val="0"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Int sr="arg9" val="1"/>
</Action>
<Action sr="act1" ve="7">
<code>547</code>
<on>false</on>
<Str sr="arg0" ve="3">%STOPPED</Str>
<Str sr="arg1" ve="3">%TIMES</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="3"/>
<Int sr="arg6" val="1"/>
<ConditionList sr="if">
<bool0>And</bool0>
<Condition sr="c0" ve="3">
<lhs>%STOPPED</lhs>
<op>13</op>
<rhs></rhs>
</Condition>
<Condition sr="c1" ve="3">
<lhs>%SCREEN</lhs>
<op>2</op>
<rhs>off</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act2" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%DOWNTIME</Str>
<Str sr="arg1" ve="3">%TIMES-%STOPPED</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="1"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="3"/>
<Int sr="arg6" val="1"/>
</Action>
<Action sr="act3" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%DOWNTIME</Str>
<Str sr="arg1" ve="3">0</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="3"/>
<Int sr="arg6" val="1"/>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%STOPPED</lhs>
<op>13</op>
<rhs></rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act4" ve="7">
<code>548</code>
<on>false</on>
<Str sr="arg0" ve="3">Downtime %DOWNTIME</Str>
<Int sr="arg1" val="0"/>
<Str sr="arg10" ve="3"/>
<Int sr="arg11" val="1"/>
<Int sr="arg12" val="0"/>
<Str sr="arg13" ve="3"/>
<Int sr="arg14" val="0"/>
<Int sr="arg2" val="0"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Int sr="arg9" val="1"/>
</Action>
<Action sr="act5" ve="7">
<code>806</code>
<on>false</on>
<Int sr="arg0" val="216"/>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%DOWNTIME</lhs>
<op>6</op>
<rhs>2</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act6" ve="7">
<code>248</code>
<Int sr="arg0" val="1"/>
<Int sr="arg1" val="1"/>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%DOWNTIME</lhs>
<op>7</op>
<rhs>1</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act7" ve="7">
<code>548</code>
<on>false</on>
<Str sr="arg0" ve="3">%DOWNTIME</Str>
<Int sr="arg1" val="0"/>
<Str sr="arg10" ve="3"/>
<Int sr="arg11" val="1"/>
<Int sr="arg12" val="0"/>
<Str sr="arg13" ve="3"/>
<Int sr="arg14" val="0"/>
<Int sr="arg2" val="0"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Int sr="arg9" val="1"/>
</Action>
</Task>
</TaskerData>
Ich hatte ein ähnliches Problem und habe es behoben, indem ich zuerst den „Entwicklermodus“ aktiviert und dann „Wach bleiben“ unter Einstellungen/Entwickleroptionen deaktiviert habe. Schalten Sie den Entwicklermodus ein, indem Sie zu Einstellungen / Über das Gerät gehen und dann sieben (7) Mal auf „Build-Nummer“ tippen/tippen. Sobald der Entwicklermodus aktiviert ist, gehen Sie zu Einstellungen / Entwickleroptionen und deaktivieren Sie „Wach bleiben“.
Dies hat das Problem für mich gelöst. Denken Sie daran, dass jedes Android-Telefon etwas anders darin ist, wo sich "Über das Gerät" befindet, aber es befindet sich im Abschnitt "Einstellungen". Gehen Sie dorthin und tippen Sie sieben Mal auf „Build-Nummer“, um den Entwicklermodus zu aktivieren.
Barfieldmv
Ale
Edelcom
Jay Sullivan